|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2019-07-10 13:54 UTC] nikic@php.net
-Status: Open
+Status: Verified
-Package: *Programming Data Structures
+Package: opcache
[2019-07-10 13:54 UTC] nikic@php.net
[2019-07-10 13:55 UTC] sjon@php.net
[2019-07-10 14:18 UTC] marekc at softel dot com dot pl
[2019-07-10 14:58 UTC] nikic@php.net
[2019-07-10 15:29 UTC] nikic@php.net
[2019-07-10 15:29 UTC] nikic@php.net
-Status: Verified
+Status: Closed
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 08:00:01 2025 UTC |
Description: ------------ The test script should print "block1" but on 7.3.7 prints "none1". Also tested on 7.2 and 7.1, it's "block1" there. Test script: --------------- <? function test($a, $b){ if($a==10){$w="x";}else{$w="y";} if($b){$d1="none";$d2="block";}else{$d1="block";$d2="none";} echo $d2.$b; } test(1,1); ?> Expected result: ---------------- block1 Actual result: -------------- none1