--TEST-- Bug #32647 (Using register_shutdown_function() with invalid callback can crash PHP) --INI-- error_reporting=2047 display_errors=1 --FILE-- --EXPECTF-- Notice: Undefined variable: obj in %s on line %d Warning: register_shutdown_function(): Invalid shutdown callback 'Array' passed in %s on line %d Notice: Undefined variable: obj in %s on line %d Warning: register_shutdown_function(): Invalid shutdown callback 'Array' passed in %s on line %d Warning: register_shutdown_function(): Invalid shutdown callback 'Array' passed in %s on line %d Warning: register_shutdown_function(): Invalid shutdown callback 'Array' passed in %s on line %d Warning: (Registered shutdown functions) Unable to call bar::foo() - function does not exist in Unknown on line 0 Warning: (Registered shutdown functions) Unable to call bar() - function does not exist in Unknown on line 0 joo! bar! Warning: (Registered shutdown functions) Unable to call bar::foobar() - function does not exist in Unknown on line 0 bar!