3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $i = 1; $output = ''; // Beginnen met een lege string while ($i<=10) { $output .= "i=$i "; // String toevoegen echo $output; time_nanosleep(1, 0); $i++; } ?>
Output for 5.3.18 - 5.4.25, 5.4.27 - 5.5.35, 5.6.8 - 7.2.0
i=1 i=1 i=2 i=1 i=2 i=3
Process exited with code 137.
Output for 5.6.7
i=1 i=1 i=2
Process exited with code 137.
Output for 5.4.26
i=1
Process exited with code 137.