Fatal error: Uncaught TypeError: register_shutdown_function(): Argument #1 ($callback) must be a valid callback, class foo does not have a method "__destruct" in /in/XOEOu:19
Stack trace:
#0 /in/XOEOu(19): register_shutdown_function(Array)
#1 /in/XOEOu(29): foo->__construct()
#2 {main}
thrown in /in/XOEOu on line 19
Process exited with code 255.
Strict Standards: Redefining already defined constructor for class foo in /in/XOEOu on line 15
Warning: register_shutdown_function(): Invalid shutdown callback 'foo::__destruct' passed in /in/XOEOu on line 19
Output for 5.1.2
Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /in/XOEOu on line 4
Strict Standards: Redefining already defined constructor for class foo in /in/XOEOu on line 15
Warning: register_shutdown_function(): Invalid shutdown callback 'foo::__destruct' passed in /in/XOEOu on line 19
Output for 5.0.5, 5.1.0 - 5.1.1
Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /in/XOEOu on line 4
Strict Standards: Redefining already defined constructor for class foo in /in/XOEOu on line 15
Warning: (Registered shutdown functions) Unable to call foo::__destruct() - function does not exist in Unknown on line 0
Output for 5.0.0 - 5.0.4
Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /in/XOEOu on line 4
Strict Standards: Redefining already defined constructor for class foo in /in/XOEOu on line 15
Warning: Unknown: Unable to call () - function does not exist in Unknown on line 0
Output for 4.4.0 - 4.4.9
Warning: (Registered shutdown functions) Unable to call foo::__destruct() - function does not exist in Unknown on line 0
Output for 4.3.0 - 4.3.11
Warning: Unknown(): Unable to call () - function does not exist in Unknown on line 0