string(5) "error"
object(Error)#3 (7) {
["message":protected]=>
string(45) "Call to a member function method() on integer"
["string":"Error":private]=>
string(0) ""
["code":protected]=>
int(0)
["file":protected]=>
string(9) "/in/G9s0v"
["line":protected]=>
int(17)
["trace":"Error":private]=>
array(0) {
}
["previous":"Error":private]=>
NULL
}
string(13) "error_handler"
int(8)
string(27) "Undefined variable: success"
string(9) "/in/G9s0v"
int(8)
string(17) "shutdown_function"
NULL
Output for 5.6.8 - 5.6.28
Fatal error: Call to a member function method() on integer in /in/G9s0v on line 17
string(13) "error_handler"
int(8)
string(27) "Undefined variable: success"
string(9) "/in/G9s0v"
int(8)
string(17) "shutdown_function"
array(4) {
["type"]=>
int(1)
["message"]=>
string(45) "Call to a member function method() on integer"
["file"]=>
string(9) "/in/G9s0v"
["line"]=>
int(17)
}
Process exited with code 255.
Output for 5.5.24 - 5.5.35
Fatal error: Call to a member function method() on a non-object in /in/G9s0v on line 17
string(13) "error_handler"
int(8)
string(27) "Undefined variable: success"
string(9) "/in/G9s0v"
int(8)
string(17) "shutdown_function"
array(4) {
["type"]=>
int(1)
["message"]=>
string(50) "Call to a member function method() on a non-object"
["file"]=>
string(9) "/in/G9s0v"
["line"]=>
int(17)
}
Process exited with code 255.