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'); @mkdir('/tmp/xynta/nya'); ?>
based on HoCA4
Output for 5.0.0 - 7.1.0
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
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
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