3v4l.org

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