Guest User

Untitled

a guest
Jul 19th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. $items = array(1, 2, 3, 243, 543, 243);
  2.  
  3. $c = count($items);
  4. $i = 24;
  5.  
  6. while ($i < $c)
  7. {
  8. if ($items[$i] == 0) {
  9. echo '0 item is found';
  10. }
  11.  
  12. $i++;
  13. }
Add Comment
Please, Sign In to add comment