|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesbug64135.patch (last revision 2013-02-04 06:56 UTC by laruence@php.net)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-02-04 06:56 UTC] laruence@php.net
[2013-02-04 07:00 UTC] laruence@php.net
-Assigned To:
+Assigned To: dmitry
[2013-02-04 07:00 UTC] laruence@php.net
[2013-02-04 08:12 UTC] dmitry@php.net
[2013-02-07 14:26 UTC] laruence@php.net
[2013-02-07 15:45 UTC] laruence@php.net
[2013-02-07 15:45 UTC] laruence@php.net
-Status: Assigned
+Status: Closed
[2013-02-07 15:48 UTC] laruence@php.net
[2013-11-17 09:31 UTC] laruence@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 07:00:01 2025 UTC |
Description: ------------ echo $undefined works $undefined++ works $undefined->method() doesn't Test script: --------------- <?php function exception_error_handler() { throw new Exception(); } set_error_handler("exception_error_handler"); try { $undefined->method(); } catch(Exception $e) { echo "Exception is thrown"; } Expected result: ---------------- Exception is thrown Actual result: -------------- PHP Warning: Uncaught exception 'Exception' in /home/radu/bug.php:4 Stack trace: #0 /home/radu/bug.php(9): exception_error_handler(8, 'Undefined varia...', '/home/radu/bug....', 9, Array) #1 {main} thrown in /home/radu/bug.php on line 4 Warning: Uncaught exception 'Exception' in /home/radu/bug.php:4 Stack trace: #0 /home/radu/bug.php(9): exception_error_handler(8, 'Undefined varia...', '/home/radu/bug....', 9, Array) #1 {main} thrown in /home/radu/bug.php on line 4 PHP Fatal error: Call to a member function method() on a non-object in /home/radu/bug.php on line 9