|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-11-30 12:45 UTC] nikic@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: nikic
[2013-11-30 12:45 UTC] nikic@php.net
[2013-12-01 12:48 UTC] nikic@php.net
[2013-12-01 12:48 UTC] nikic@php.net
-Status: Assigned
+Status: Closed
[2013-12-01 22:10 UTC] ab@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 18:00:01 2025 UTC |
Description: ------------ with CG(compiler_options) |= ZEND_COMPILE_EXTENDED_INFO; the following tests fail FAIL Generator::throw() where the exception is caught in the generator [Zend/tests/generators/throw_caught.phpt] FAIL Generator::throw() where the generator throws a different exception [Zend/tests/generators/throw_rethrow.phpt] ============ ~/src/php/php5.5/Zend/tests/generators/throw_caught.log ---- EXPECTED OUTPUT exception 'RuntimeException' with message 'Test' in %s:%d Stack trace: #0 {main} string(6) "result" ---- ACTUAL OUTPUT Fatal error: Uncaught exception 'RuntimeException' with message 'Test' in /home/xuefer/src/php/php5.5/Zend/tests/generators/throw_caught.php:14 Stack trace: #0 {main} thrown in /home/xuefer/src/php/php5.5/Zend/tests/generators/throw_caught.php on line 14 ---- FAILED ============ ~/src/php/php5.5/Zend/tests/generators/throw_rethrow.log ---- EXPECTED OUTPUT Caught: exception 'RuntimeException' with message 'throw' in %s:%d Stack trace: #0 {main} Fatal error: Uncaught exception 'LogicException' with message 'new throw' in %s:%d Stack trace: #0 [internal function]: gen() #1 %s(%d): Generator->throw(Object(RuntimeException)) #2 {main} thrown in %s on line %d ---- ACTUAL OUTPUT Fatal error: Uncaught exception 'RuntimeException' with message 'throw' in /home/xuefer/src/php/php5.5/Zend/tests/generators/throw_rethrow.php:14 Stack trace: #0 {main} thrown in /home/xuefer/src/php/php5.5/Zend/tests/generators/throw_rethrow.php on line 14 ---- FAILED