3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function default_error_handler($errorNumber, $message, $errfile, $errline){ echo " default_error_handler:\r\n"; var_dump($errorNumber, $message, error_reporting(), ini_get('display_errors')); echo "/default_error_handler\r\n"; } set_error_handler('default_error_handler'); error_reporting(E_ALL); echo error_reporting()."\r\n"; @mkdir('/tmp/xynta/nya'); ?>
based on 3f587
Output for 5.4.0 - 5.6.21, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
32767 default_error_handler: int(2) string(34) "mkdir(): No such file or directory" int(0) string(1) "1" /default_error_handler
Output for 5.3.0 - 5.3.29
30719 default_error_handler: int(2) string(34) "mkdir(): No such file or directory" int(0) string(1) "1" /default_error_handler
Output for 5.2.0 - 5.2.17
6143 default_error_handler: int(2) string(34) "mkdir(): No such file or directory" int(0) string(1) "1" /default_error_handler
Output for 5.0.0 - 5.1.6
2047 default_error_handler: int(2) string(34) "mkdir(): No such file or directory" int(0) string(1) "1" /default_error_handler
Output for 4.3.2 - 4.4.9
2047 default_error_handler: int(2) string(48) "mkdir(/tmp/xynta/nya): No such file or directory" int(0) string(1) "1" /default_error_handler
Output for 4.3.0 - 4.3.1
2047 default_error_handler: int(2) string(84) "mkdir(/tmp/xynta/nya) [http://www.php.net/function.mkdir]: No such file or directory" int(0) string(1) "1" /default_error_handler