|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-07-30 19:54 UTC] kalle@php.net
-Status: Open
+Status: Feedback
[2016-07-30 19:54 UTC] kalle@php.net
[2016-08-01 07:37 UTC] peter at netkey dot at
[2016-08-07 04:22 UTC] php-bugs at lists dot php dot net
[2016-08-07 05:44 UTC] requinix@php.net
-Status: No Feedback
+Status: Closed
-Assigned To:
+Assigned To: requinix
[2016-08-07 05:44 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 13:00:01 2025 UTC |
Description: ------------ When called via apache2 (mod_php5), some SPL exception do not display any information: BadFunctionCallException, InvalidArgumentException, OutOfBoundsException, RuntimeException and UnexpectedValueException. When called vi CLI the backtrace and exception message is displayed. All other SPL exceptions display the expected message / backtrace. PHP was installed via the ports system, before the upgrade form 5.3 to 5.4 the mentioned exceptions displayed message and backtrace. Test script: --------------- <?php throw new InvalidArgumentException('SDF'); ?> Expected result: ---------------- Fatal error: Uncaught exception 'InvalidArgumentException' with message 'SDF' in /path/to/script.php Actual result: -------------- Fatal error: in /path/to/script.php