--TEST-- Bug #36268 (Object destructors called even after fatal errors) --FILE-- --EXPECTF-- Fatal error: Uncaught EngineException: Call to undefined function bar() in %sbug36268.php:8 Stack trace: #0 {main} thrown in %sbug36268.php on line 8