daily pastebin goal
45%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. // Works for everything > 0
  4.  
  5. $i = 5;
  6.  
  7. while ($i > 0) {
  8.    
  9.     $i -= 2;
  10.    
  11.     if ($i == 0) {
  12.         echo "Number is true";
  13.     } elseif ($i == -1) {
  14.         echo "Number is false";
  15.     }
  16. }
  17.  
  18.  
  19. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top