Edit report at https://bugs.php.net/bug.php?id=62235&edit=1
ID: 62235 Updated by: fel...@php.net Reported by: cory dot carson at boeing dot com Summary: Classload error during parameter building causes APPCRASH -Status: Open +Status: Feedback Type: Bug Package: Reproducible crash Operating System: Windows PHP Version: 5.4.3 Block user comment: N Private report: N New Comment: Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2012-06-07 09:30:31] reeze dot xia at gmail dot com I can't reproduce it , I got LogicException instead. do you use any other like xdebug ? reeze@MacBookPro ~/O/p/php-src-5.4> ../php-src-5.4/sapi/cli/php a.php Fatal error: Uncaught exception 'LogicException' with message 'Class NonExistantClass could not be loaded' in /Users/reeze/Opensource/php-test/php- src-5.4/a.php:3 Stack trace: #0 /Users/reeze/Opensource/php-test/php-src-5.4/a.php(3): spl_autoload('NonExistantClas...') #1 {main} thrown in /Users/reeze/Opensource/php-test/php-src-5.4/a.php on line 3 reeze@MacBookPro ~/O/p/php-src-5.4> ../php-src-5.4/sapi/cli/php -v PHP 5.4.5-dev (cli) (built: May 23 2012 15:33:54) (DEBUG) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies ------------------------------------------------------------------------ [2012-06-05 17:39:18] cory dot carson at boeing dot com Description: ------------ When classloading fails when attempting to call a function on the class, when using the result as a parameter to another function call, will crash PHP itself instead of PHP reporting an error. Test script: --------------- <?php \spl_autoload_register(); (new \SplDoublyLinkedList)->push(NonExistantClass::functionCall()); Expected result: ---------------- "Fatal error: Class 'NonExistantClass' not found" Actual result: -------------- APPCRASH ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62235&edit=1