Test: /Zend/tests/bug78271.phpt - Version 7.3.8RC1        

Bug #78271 Invalid result of if-else
Submitted: 2019-07-10 13:51:27 Modified: 2019-07-10 14:58:36
From: marekc Assigned:
Status: Closed Package: opcache
PHP Version: 7.3.7 OS: Linux Debian 8.11 64bit

There is 1 diff reported by users for this test.

Count Diff
3 (100%)
001+ <?
001- block1
002+ function test($a, $b){
003+ if ($a==10) {
004+ $w="x";
005+ } else {
006+ $w="y";
007+ }
008+
009+ if ($b) {
010+ $d1="none";
011+ $d2="block";
012+ } else {
013+ $d1="block";
014+ $d2="none";
015+ }
016+
017+ echo $d2.$b."\n";
018+
019+ }
020+
021+ test(1, 1);
022+ ?>