3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i = 0; $i < 100000; $i++){ $y += $i; $x = implode("", array("xxxx", "xxxx", "xxxx","xxxx")); } echo $x.$i;
based on eVPr0
Output for 5.0.4 - 5.6.28, 7.0.0 - 7.1.0
Notice: Undefined variable: y in /in/HvpCg on line 3 xxxxxxxxxxxxxxxx100000
Output for hhvm-3.10.0 - 3.12.0
xxxxxxxxxxxxxxxx100000
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: y in /in/HvpCg on line 3 xxxxxxxxxxxxxxxx100000