fork download
  1. <?php
  2. $i = 5;
  3. function first($k) {
  4. GLOBAL $i;
  5. STATIC $j = 3;
  6. return (($j != 2)?++$j:$j--)*$k*$i." ";
  7. }
  8. for ($i = 0; $i < 3; $i+= 3)
  9. echo first($i--);
  10. ?>
Success #stdin #stdout 0.02s 23468KB
stdin
Standard input is empty
stdout
0 10