3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = ''; for($i=0;$i<10000000;++$i) { $a.='a'; }
Output for 4.3.0, 4.3.2, 4.3.4 - 4.3.6, 4.3.10 - 4.3.11, 4.4.2, 4.4.7, 5.0.2 - 5.0.3, 5.1.0 - 7.1.0
Output for 4.3.1, 4.3.3, 4.3.7 - 4.3.9, 4.4.0 - 4.4.1, 4.4.3 - 4.4.6, 4.4.8 - 5.0.1, 5.0.4 - 5.0.5

Process exited with code 137.