3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(-1); $res = explode('_', 'aaa_bbb'); print_r($res); print_r(error_get_last());
Output for 5.2.0 - 7.1.0
Array ( [0] => aaa [1] => bbb )
Output for 5.0.0 - 5.1.6
Array ( [0] => aaa [1] => bbb ) Fatal error: Call to undefined function error_get_last() in /in/Yu3pC on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Array ( [0] => aaa [1] => bbb ) Fatal error: Call to undefined function: error_get_last() in /in/Yu3pC on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Array ( [0] => aaa [1] => bbb ) Fatal error: Call to undefined function: error_get_last() in /in/Yu3pC on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Array ( [0] => aaa [1] => bbb ) Fatal error: Call to undefined function: error_get_last() in /in/Yu3pC on line 5