3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* final public ExceptionException::getPrevious ( void ) */ error_reporting(E_ALL); function exception_error_handler($errno, $errstr, $errfile, $errline ) { throw new ErrorException($errstr, '00007600', $errno, $errfile, $errline, new Exception('jjj')); } set_error_handler("exception_error_handler"); try { echo $x; } catch(Exception $e) { var_dump($e->getPrevious()); }
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
object(Exception)#2 (7) { ["message":protected]=> string(3) "jjj" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(9) "/in/l3AFl" ["line":protected]=> int(17) ["trace":"Exception":private]=> array(1) { [0]=> array(4) { ["file"]=> string(9) "/in/l3AFl" ["line"]=> int(24) ["function"]=> string(23) "exception_error_handler" ["args"]=> array(4) { [0]=> int(2) [1]=> string(21) "Undefined variable $x" [2]=> string(9) "/in/l3AFl" [3]=> int(24) } } } ["previous":"Exception":private]=> NULL }
Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
object(Exception)#2 (7) { ["message":protected]=> string(3) "jjj" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(9) "/in/l3AFl" ["line":protected]=> int(17) ["trace":"Exception":private]=> array(1) { [0]=> array(4) { ["file"]=> string(9) "/in/l3AFl" ["line"]=> int(24) ["function"]=> string(23) "exception_error_handler" ["args"]=> array(5) { [0]=> int(8) [1]=> string(21) "Undefined variable: x" [2]=> string(9) "/in/l3AFl" [3]=> int(24) [4]=> array(7) { ["_GET"]=> array(0) { } ["_POST"]=> array(0) { } ["_COOKIE"]=> array(0) { } ["_FILES"]=> array(0) { } ["argv"]=> array(1) { [0]=> string(9) "/in/l3AFl" } ["argc"]=> int(1) ["_SERVER"]=> array(17) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" ["PHP_SELF"]=> string(9) "/in/l3AFl" ["SCRIPT_NAME"]=> string(9) "/in/l3AFl" ["SCRIPT_FILENAME"]=> string(9) "/in/l3AFl" ["PATH_TRANSLATED"]=> string(9) "/in/l3AFl" ["DOCUMENT_ROOT"]=> string(0) "" ["REQUEST_TIME_FLOAT"]=> float(1390424909.0001) ["REQUEST_TIME"]=> int(1390424909) ["argv"]=> array(1) { [0]=> string(9) "/in/l3AFl" } ["argc"]=> int(1) } } } } } ["previous":"Exception":private]=> NULL }
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
object(Exception)#2 (7) { ["message":protected]=> string(3) "jjj" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(9) "/in/l3AFl" ["line":protected]=> int(17) ["trace":"Exception":private]=> array(1) { [0]=> array(4) { ["file"]=> string(9) "/in/l3AFl" ["line"]=> int(24) ["function"]=> string(23) "exception_error_handler" ["args"]=> array(5) { [0]=> &int(8) [1]=> &string(21) "Undefined variable: x" [2]=> &string(9) "/in/l3AFl" [3]=> &int(24) [4]=> &array(8) { ["_GET"]=> array(0) { } ["_POST"]=> array(0) { } ["_COOKIE"]=> array(0) { } ["_FILES"]=> array(0) { } ["argv"]=> array(1) { [0]=> string(9) "/in/l3AFl" } ["argc"]=> int(1) ["_SERVER"]=> array(17) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" ["PHP_SELF"]=> string(9) "/in/l3AFl" ["SCRIPT_NAME"]=> string(9) "/in/l3AFl" ["SCRIPT_FILENAME"]=> string(9) "/in/l3AFl" ["PATH_TRANSLATED"]=> string(9) "/in/l3AFl" ["DOCUMENT_ROOT"]=> string(0) "" ["REQUEST_TIME_FLOAT"]=> float(1390424909.0001) ["REQUEST_TIME"]=> int(1390424909) ["argv"]=> array(1) { [0]=> string(9) "/in/l3AFl" } ["argc"]=> int(1) } ["e"]=> object(ErrorException)#1 (8) { ["message":protected]=> string(21) "Undefined variable: x" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(7600) ["file":protected]=> string(9) "/in/l3AFl" ["line":protected]=> int(24) ["trace":"Exception":private]=> array(1) { [0]=> array(4) { ["file"]=> string(9) "/in/l3AFl" ["line"]=> int(24) ["function"]=> string(23) "exception_error_handler" ["args"]=> array(5) { [0]=> &int(8) [1]=> &string(21) "Undefined variable: x" [2]=> &string(9) "/in/l3AFl" [3]=> &int(24) [4]=> *RECURSION* } } } ["previous":"Exception":private]=> *RECURSION* ["severity":protected]=> int(8) } } } } } ["previous":"Exception":private]=> NULL }
Output for 5.3.3 - 5.3.29
object(Exception)#2 (7) { ["message":protected]=> string(3) "jjj" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(9) "/in/l3AFl" ["line":protected]=> int(17) ["trace":"Exception":private]=> array(1) { [0]=> array(4) { ["file"]=> string(9) "/in/l3AFl" ["line"]=> int(24) ["function"]=> string(23) "exception_error_handler" ["args"]=> array(5) { [0]=> &int(8) [1]=> &string(21) "Undefined variable: x" [2]=> &string(9) "/in/l3AFl" [3]=> &int(24) [4]=> &array(17) { ["GLOBALS"]=> *RECURSION* ["_ENV"]=> array(8) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" } ["HTTP_ENV_VARS"]=> array(8) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" } ["argv"]=> array(1) { [0]=> string(9) "/in/l3AFl" } ["argc"]=> int(1) ["_POST"]=> array(0) { } ["HTTP_POST_VARS"]=> array(0) { } ["_GET"]=> array(0) { } ["HTTP_GET_VARS"]=> array(0) { } ["_COOKIE"]=> array(0) { } ["HTTP_COOKIE_VARS"]=> array(0) { } ["_SERVER"]=> array(16) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" ["PHP_SELF"]=> string(9) "/in/l3AFl" ["SCRIPT_NAME"]=> string(9) "/in/l3AFl" ["SCRIPT_FILENAME"]=> string(9) "/in/l3AFl" ["PATH_TRANSLATED"]=> string(9) "/in/l3AFl" ["DOCUMENT_ROOT"]=> string(0) "" ["REQUEST_TIME"]=> int(1390424909) ["argv"]=> array(1) { [0]=> string(9) "/in/l3AFl" } ["argc"]=> int(1) } ["HTTP_SERVER_VARS"]=> array(16) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" ["PHP_SELF"]=> string(9) "/in/l3AFl" ["SCRIPT_NAME"]=> string(9) "/in/l3AFl" ["SCRIPT_FILENAME"]=> string(9) "/in/l3AFl" ["PATH_TRANSLATED"]=> string(9) "/in/l3AFl" ["DOCUMENT_ROOT"]=> string(0) "" ["REQUEST_TIME"]=> int(1390424909) ["argv"]=> array(1) { [0]=> string(9) "/in/l3AFl" } ["argc"]=> int(1) } ["_FILES"]=> array(0) { } ["HTTP_POST_FILES"]=> array(0) { } ["_REQUEST"]=> array(0) { } ["e"]=> object(ErrorException)#1 (8) { ["message":protected]=> string(21) "Undefined variable: x" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(7600) ["file":protected]=> string(9) "/in/l3AFl" ["line":protected]=> int(24) ["trace":"Exception":private]=> array(1) { [0]=> array(4) { ["file"]=> string(9) "/in/l3AFl" ["line"]=> int(24) ["function"]=> string(23) "exception_error_handler" ["args"]=> array(5) { [0]=> &int(8) [1]=> &string(21) "Undefined variable: x" [2]=> &string(9) "/in/l3AFl" [3]=> &int(24) [4]=> *RECURSION* } } } ["previous":"Exception":private]=> *RECURSION* ["severity":protected]=> int(8) } } } } } ["previous":"Exception":private]=> NULL }
Output for 5.3.0 - 5.3.2
object(Exception)#2 (7) { ["message":protected]=> string(3) "jjj" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(9) "/in/l3AFl" ["line":protected]=> int(17) ["trace":"Exception":private]=> array(1) { [0]=> array(4) { ["file"]=> string(9) "/in/l3AFl" ["line"]=> int(24) ["function"]=> string(23) "exception_error_handler" ["args"]=> array(5) { [0]=> &int(8) [1]=> &string(21) "Undefined variable: x" [2]=> &string(9) "/in/l3AFl" [3]=> &int(24) [4]=> &array(17) { ["GLOBALS"]=> &array(17) { ["GLOBALS"]=> *RECURSION* ["_ENV"]=> array(8) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" } ["HTTP_ENV_VARS"]=> array(8) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" } ["argv"]=> array(1) { [0]=> string(9) "/in/l3AFl" } ["argc"]=> int(1) ["_POST"]=> array(0) { } ["HTTP_POST_VARS"]=> array(0) { } ["_GET"]=> array(0) { } ["HTTP_GET_VARS"]=> array(0) { } ["_COOKIE"]=> array(0) { } ["HTTP_COOKIE_VARS"]=> array(0) { } ["_SERVER"]=> array(16) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" ["PHP_SELF"]=> string(9) "/in/l3AFl" ["SCRIPT_NAME"]=> string(9) "/in/l3AFl" ["SCRIPT_FILENAME"]=> string(9) "/in/l3AFl" ["PATH_TRANSLATED"]=> string(9) "/in/l3AFl" ["DOCUMENT_ROOT"]=> string(0) "" ["REQUEST_TIME"]=> int(1390424909) ["argv"]=> array(1) { [0]=> string(9) "/in/l3AFl" } ["argc"]=> int(1) } ["HTTP_SERVER_VARS"]=> array(16) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" ["PHP_SELF"]=> string(9) "/in/l3AFl" ["SCRIPT_NAME"]=> string(9) "/in/l3AFl" ["SCRIPT_FILENAME"]=> string(9) "/in/l3AFl" ["PATH_TRANSLATED"]=> string(9) "/in/l3AFl" ["DOCUMENT_ROOT"]=> string(0) "" ["REQUEST_TIME"]=> int(1390424909) ["argv"]=> array(1) { [0]=> string(9) "/in/l3AFl" } ["argc"]=> int(1) } ["_FILES"]=> array(0) { } ["HTTP_POST_FILES"]=> array(0) { } ["_REQUEST"]=> array(0) { } ["e"]=> object(ErrorException)#1 (8) { ["message":protected]=> string(21) "Undefined variable: x" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(7600) ["file":protected]=> string(9) "/in/l3AFl" ["line":protected]=> int(24) ["trace":"Exception":private]=> array(1) { [0]=> array(4) { ["file"]=> string(9) "/in/l3AFl" ["line"]=> int(24) ["function"]=> string(23) "exception_error_handler" ["args"]=> array(5) { [0]=> &int(8) [1]=> &string(21) "Undefined variable: x" [2]=> &string(9) "/in/l3AFl" [3]=> &int(24) [4]=> *RECURSION* } } } ["previous":"Exception":private]=> object(Exception)#2 (7) { ["message":protected]=> string(3) "jjj" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(9) "/in/l3AFl" ["line":protected]=> int(17) ["trace":"Exception":private]=> array(1) { [0]=> array(4) { ["file"]=> string(9) "/in/l3AFl" ["line"]=> int(24) ["function"]=> string(23) "exception_error_handler" ["args"]=> array(5) { [0]=> &int(8) [1]=> &string(21) "Undefined variable: x" [2]=> &string(9) "/in/l3AFl" [3]=> &int(24) [4]=> *RECURSION* } } } ["previous":"Exception":private]=> NULL } ["severity":protected]=> int(8) } } ["_ENV"]=> array(8) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" } ["HTTP_ENV_VARS"]=> array(8) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" } ["argv"]=> array(1) { [0]=> string(9) "/in/l3AFl" } ["argc"]=> int(1) ["_POST"]=> array(0) { } ["HTTP_POST_VARS"]=> array(0) { } ["_GET"]=> array(0) { } ["HTTP_GET_VARS"]=> array(0) { } ["_COOKIE"]=> array(0) { } ["HTTP_COOKIE_VARS"]=> array(0) { } ["_SERVER"]=> array(16) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" ["PHP_SELF"]=> string(9) "/in/l3AFl" ["SCRIPT_NAME"]=> string(9) "/in/l3AFl" ["SCRIPT_FILENAME"]=> string(9) "/in/l3AFl" ["PATH_TRANSLATED"]=> string(9) "/in/l3AFl" ["DOCUMENT_ROOT"]=> string(0) "" ["REQUEST_TIME"]=> int(1390424909) ["argv"]=> array(1) { [0]=> string(9) "/in/l3AFl" } ["argc"]=> int(1) } ["HTTP_SERVER_VARS"]=> array(16) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" ["PHP_SELF"]=> string(9) "/in/l3AFl" ["SCRIPT_NAME"]=> string(9) "/in/l3AFl" ["SCRIPT_FILENAME"]=> string(9) "/in/l3AFl" ["PATH_TRANSLATED"]=> string(9) "/in/l3AFl" ["DOCUMENT_ROOT"]=> string(0) "" ["REQUEST_TIME"]=> int(1390424909) ["argv"]=> array(1) { [0]=> string(9) "/in/l3AFl" } ["argc"]=> int(1) } ["_FILES"]=> array(0) { } ["HTTP_POST_FILES"]=> array(0) { } ["_REQUEST"]=> array(0) { } ["e"]=> object(ErrorException)#1 (8) { ["message":protected]=> string(21) "Undefined variable: x" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(7600) ["file":protected]=> string(9) "/in/l3AFl" ["line":protected]=> int(24) ["trace":"Exception":private]=> array(1) { [0]=> array(4) { ["file"]=> string(9) "/in/l3AFl" ["line"]=> int(24) ["function"]=> string(23) "exception_error_handler" ["args"]=> array(5) { [0]=> &int(8) [1]=> &string(21) "Undefined variable: x" [2]=> &string(9) "/in/l3AFl" [3]=> &int(24) [4]=> &array(17) { ["GLOBALS"]=> *RECURSION* ["_ENV"]=> array(8) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" } ["HTTP_ENV_VARS"]=> array(8) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" } ["argv"]=> array(1) { [0]=> string(9) "/in/l3AFl" } ["argc"]=> int(1) ["_POST"]=> array(0) { } ["HTTP_POST_VARS"]=> array(0) { } ["_GET"]=> array(0) { } ["HTTP_GET_VARS"]=> array(0) { } ["_COOKIE"]=> array(0) { } ["HTTP_COOKIE_VARS"]=> array(0) { } ["_SERVER"]=> array(16) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" ["PHP_SELF"]=> string(9) "/in/l3AFl" ["SCRIPT_NAME"]=> string(9) "/in/l3AFl" ["SCRIPT_FILENAME"]=> string(9) "/in/l3AFl" ["PATH_TRANSLATED"]=> string(9) "/in/l3AFl" ["DOCUMENT_ROOT"]=> string(0) "" ["REQUEST_TIME"]=> int(1390424909) ["argv"]=> array(1) { [0]=> string(9) "/in/l3AFl" } ["argc"]=> int(1) } ["HTTP_SERVER_VARS"]=> array(16) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" ["PHP_SELF"]=> string(9) "/in/l3AFl" ["SCRIPT_NAME"]=> string(9) "/in/l3AFl" ["SCRIPT_FILENAME"]=> string(9) "/in/l3AFl" ["PATH_TRANSLATED"]=> string(9) "/in/l3AFl" ["DOCUMENT_ROOT"]=> string(0) "" ["REQUEST_TIME"]=> int(1390424909) ["argv"]=> array(1) { [0]=> string(9) "/in/l3AFl" } ["argc"]=> int(1) } ["_FILES"]=> array(0) { } ["HTTP_POST_FILES"]=> array(0) { } ["_REQUEST"]=> array(0) { } ["e"]=> object(ErrorException)#1 (8) { ["message":protected]=> string(21) "Undefined variable: x" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(7600) ["file":protected]=> string(9) "/in/l3AFl" ["line":protected]=> int(24) ["trace":"Exception":private]=> array(1) { [0]=> array(4) { ["file"]=> string(9) "/in/l3AFl" ["line"]=> int(24) ["function"]=> string(23) "exception_error_handler" ["args"]=> array(5) { [0]=> &int(8) [1]=> &string(21) "Undefined variable: x" [2]=> &string(9) "/in/l3AFl" [3]=> &int(24) [4]=> *RECURSION* } } } ["previous":"Exception":private]=> object(Exception)#2 (7) { ["message":protected]=> string(3) "jjj" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(9) "/in/l3AFl" ["line":protected]=> int(17) ["trace":"Exception":private]=> array(1) { [0]=> array(4) { ["file"]=> string(9) "/in/l3AFl" ["line"]=> int(24) ["function"]=> string(23) "exception_error_handler" ["args"]=> array(5) { [0]=> &int(8) [1]=> &string(21) "Undefined variable: x" [2]=> &string(9) "/in/l3AFl" [3]=> &int(24) [4]=> *RECURSION* } } } ["previous":"Exception":private]=> NULL } ["severity":protected]=> int(8) } } } } } ["previous":"Exception":private]=> object(Exception)#2 (7) { ["message":protected]=> string(3) "jjj" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(9) "/in/l3AFl" ["line":protected]=> int(17) ["trace":"Exception":private]=> array(1) { [0]=> array(4) { ["file"]=> string(9) "/in/l3AFl" ["line"]=> int(24) ["function"]=> string(23) "exception_error_handler" ["args"]=> array(5) { [0]=> &int(8) [1]=> &string(21) "Undefined variable: x" [2]=> &string(9) "/in/l3AFl" [3]=> &int(24) [4]=> &array(17) { ["GLOBALS"]=> *RECURSION* ["_ENV"]=> array(8) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" } ["HTTP_ENV_VARS"]=> array(8) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" } ["argv"]=> array(1) { [0]=> string(9) "/in/l3AFl" } ["argc"]=> int(1) ["_POST"]=> array(0) { } ["HTTP_POST_VARS"]=> array(0) { } ["_GET"]=> array(0) { } ["HTTP_GET_VARS"]=> array(0) { } ["_COOKIE"]=> array(0) { } ["HTTP_COOKIE_VARS"]=> array(0) { } ["_SERVER"]=> array(16) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" ["PHP_SELF"]=> string(9) "/in/l3AFl" ["SCRIPT_NAME"]=> string(9) "/in/l3AFl" ["SCRIPT_FILENAME"]=> string(9) "/in/l3AFl" ["PATH_TRANSLATED"]=> string(9) "/in/l3AFl" ["DOCUMENT_ROOT"]=> string(0) "" ["REQUEST_TIME"]=> int(1390424909) ["argv"]=> array(1) { [0]=> string(9) "/in/l3AFl" } ["argc"]=> int(1) } ["HTTP_SERVER_VARS"]=> array(16) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" ["PHP_SELF"]=> string(9) "/in/l3AFl" ["SCRIPT_NAME"]=> string(9) "/in/l3AFl" ["SCRIPT_FILENAME"]=> string(9) "/in/l3AFl" ["PATH_TRANSLATED"]=> string(9) "/in/l3AFl" ["DOCUMENT_ROOT"]=> string(0) "" ["REQUEST_TIME"]=> int(1390424909) ["argv"]=> array(1) { [0]=> string(9) "/in/l3AFl" } ["argc"]=> int(1) } ["_FILES"]=> array(0) { } ["HTTP_POST_FILES"]=> array(0) { } ["_REQUEST"]=> array(0) { } ["e"]=> object(ErrorException)#1 (8) { ["message":protected]=> string(21) "Undefined variable: x" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(7600) ["file":protected]=> string(9) "/in/l3AFl" ["line":protected]=> int(24) ["trace":"Exception":private]=> array(1) { [0]=> array(4) { ["file"]=> string(9) "/in/l3AFl" ["line"]=> int(24) ["function"]=> string(23) "exception_error_handler" ["args"]=> array(5) { [0]=> &int(8) [1]=> &string(21) "Undefined variable: x" [2]=> &string(9) "/in/l3AFl" [3]=> &int(24) [4]=> *RECURSION* } } } ["previous":"Exception":private]=> *RECURSION* ["severity":protected]=> int(8) } } } } } ["previous":"Exception":private]=> NULL } ["severity":protected]=> int(8) } } } } } ["previous":"Exception":private]=> NULL }
Output for 5.1.2 - 5.1.6, 5.2.0 - 5.2.17
Fatal error: Wrong parameters for ErrorException([string $exception [, long $code, [ long $severity, [ string $filename, [ long $lineno ]]]]]) in /in/l3AFl on line 17
Process exited with code 255.
Output for 5.1.0 - 5.1.1
Fatal error: Wrong parameter count for exception([string $exception [, long $code ]]) in /in/l3AFl on line 17
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Fatal error: Class 'ErrorException' not found in /in/l3AFl on line 17
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_NEW in /in/l3AFl on line 17
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1
Parse error: parse error, unexpected T_NEW in /in/l3AFl on line 17
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/l3AFl on line 17
Process exited with code 255.

preferences:
325.71 ms | 401 KiB | 465 Q