Bug #69871 [Asn->Csd]: More short-circuiting failure

From: Date: Thu, 18 Jun 2015 13:59:04 +0000
Subject: Bug #69871 [Asn->Csd]: More short-circuiting failure
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-193656@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69871&edit=1 ID: 69871 Updated by: bwoebi@php.net Reported by: arjen at react dot com Summary: More short-circuiting failure -Status: Assigned +Status: Closed Type: Bug Package: Scripting Engine problem PHP Version: 7.0Git-2015-06-18 (Git) Assigned To: bwoebi Block user comment: N Private report: N New Comment: Automatic comment on behalf of bobwei9@hotmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=fae6bedea5e094a1f6ddbd1a4453eaea340d1855 Log: Fix bug #69871 (short-circuiting failure with smart_branch) Previous Comments: ------------------------------------------------------------------------ [2015-06-18 13:30:25] bwoebi@php.net That's an unrelated failure, actually caused by ZEND_VM_SMART_BRANCH()... [aka code tries to be smarter than it actually is.] ------------------------------------------------------------------------ [2015-06-18 12:46:33] arjen at react dot com Description: ------------ Testscript also posted in https://bugs.php.net/bug.php?id=69868 Thought it would be the same issue, but after the two commits of laruence it's still present. Test script: --------------- --TEST-- Bug #xxxxx More short-circuiting failure --FILE-- <?php $a = true; if(isset($a) && 0) var_dump(true); else var_dump(false); ?> --EXPECT-- bool(false) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69871&edit=1

« previous php.bugs (#193656) next »