fork download
  1. <?php
  2.  
  3. $i = 1;
  4. $j = 1 + $i++;
  5.  
  6. print("x++ : i=$i, j=$j\n");
  7.  
  8. $i = 1;
  9. $j = 1 + ++$i;
  10.  
  11. print("++x : i=$i, j=$j\n");
  12.  
  13. ?>
Success #stdin #stdout 0.01s 20520KB
stdin
Standard input is empty
stdout
x++ : i=2, j=2
++x : i=2, j=3