3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = 2; $temp = 0; $iter = 10000000; for ($x=0; $x<$iter; $x++) { $test++; }
Output for 4.3.1 - 4.3.2, 4.3.4, 4.3.7 - 4.3.10, 4.4.1, 4.4.5 - 4.4.7, 4.4.9, 5.1.0 - 7.1.0
Output for 4.3.0, 4.3.3, 4.3.5 - 4.3.6, 4.3.11 - 4.4.0, 4.4.2 - 4.4.4, 4.4.8, 5.0.0 - 5.0.5

Process exited with code 137.