|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-08-11 18:07 UTC] cmb@php.net
-Status: Open
+Status: Not a bug
-Assigned To:
+Assigned To: cmb
[2015-08-11 18:07 UTC] cmb@php.net
[2015-08-11 18:16 UTC] bwoebi@php.net
-Status: Not a bug
+Status: Re-Opened
[2015-08-11 18:16 UTC] bwoebi@php.net
[2015-08-11 18:20 UTC] bwoebi@php.net
[2015-08-11 18:20 UTC] bwoebi@php.net
[2015-08-11 18:20 UTC] bwoebi@php.net
-Status: Re-Opened
+Status: Assigned
-Assigned To: cmb
+Assigned To: bwoebi
[2015-08-11 19:39 UTC] cmb@php.net
[2015-08-11 19:45 UTC] nikic@php.net
[2015-08-11 19:47 UTC] bwoebi@php.net
[2015-08-11 20:12 UTC] bwoebi@php.net
[2015-08-11 20:12 UTC] bwoebi@php.net
-Status: Assigned
+Status: Closed
[2015-08-18 16:24 UTC] ab@php.net
[2016-07-20 11:37 UTC] davey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 08:00:01 2025 UTC |
Description: ------------ Assertion configuration can change code behavior: php -d zend.assertions=1 test.php -> Generator php -d zend.assertions=-1 test.php -> bool(true) Test script: --------------- <?php function foo() { assert(yield 42); return true; } var_dump(foo()); Expected result: ---------------- php -d zend.assertions=1 test.php -> Generator php -d zend.assertions=-1 test.php -> Generator Actual result: -------------- php -d zend.assertions=1 test.php -> Generator php -d zend.assertions=-1 test.php -> bool(true)