3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function crash() { $notDefined[$i] = 'test'; } function error_handler() { return false; } set_error_handler('error_handler'); crash(); echo "made it once\n"; crash(); echo "ok\n";
Output for 5.0.4 - 5.4.45, 5.5.25 - 5.5.35, 5.6.9 - 7.1.0
Notice: Undefined variable: i in /in/lespU on line 4 made it once Notice: Undefined variable: i in /in/lespU on line 4 ok
Output for 5.5.24, 5.6.8
Notice: Undefined variable: i in /in/lespU on line 4 made it once Notice: Undefined variable: i in /in/lespU on line 4
Process exited with code 139.
Output for 4.3.10 - 4.4.9, 5.0.3
Notice: Undefined variable: i in /in/lespU on line 4 made it once Notice: Undefined variable: i in /in/lespU on line 4 ok
Output for 5.0.2
Notice: Undefined variable:  in /in/lespU on line 4 made it once Notice: Undefined variable: @ן in /in/lespU on line 4 ok
Output for 5.0.1
Notice: Undefined variable: is_scalar in /in/lespU on line 4 made it once Notice: Undefined variable: ��� in /in/lespU on line 4 ok
Output for 4.3.7 - 4.3.9, 5.0.0
Notice: Undefined variable: in /in/lespU on line 4 made it once Notice: Undefined variable: in /in/lespU on line 4 ok
Output for 4.3.0 - 4.3.6
made it once ok