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(); crash(); echo "ok";
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/N0OgH on line 4 Notice: Undefined variable: i in /in/N0OgH on line 4 ok
Output for 5.5.24, 5.6.7 - 5.6.8
Notice: Undefined variable: i in /in/N0OgH on line 4 Notice: Undefined variable: i in /in/N0OgH 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/N0OgH on line 4 Notice: Undefined variable: i in /in/N0OgH on line 4 ok
Output for 5.0.2
Notice: Undefined variable:  in /in/N0OgH on line 4 Notice: Undefined variable: @ן in /in/N0OgH on line 4 ok
Output for 5.0.1
Notice: Undefined variable: is_scalar in /in/N0OgH on line 4 Notice: Undefined variable: ��� in /in/N0OgH on line 4 ok
Output for 5.0.0
Notice: Undefined variable: | in /in/N0OgH on line 4 Notice: Undefined variable: | in /in/N0OgH on line 4 ok
Output for 4.3.7 - 4.3.9
Notice: Undefined variable: in /in/N0OgH on line 4 Notice: Undefined variable: in /in/N0OgH on line 4 ok
Output for 4.3.0 - 4.3.6
ok