diff options
Diffstat (limited to 'ext/opcache/tests/opt/sccp_012.phpt')
-rw-r--r-- | ext/opcache/tests/opt/sccp_012.phpt | 42 |
1 files changed, 22 insertions, 20 deletions
diff --git a/ext/opcache/tests/opt/sccp_012.phpt b/ext/opcache/tests/opt/sccp_012.phpt index 5d2f3e9a01..08d271307e 100644 --- a/ext/opcache/tests/opt/sccp_012.phpt +++ b/ext/opcache/tests/opt/sccp_012.phpt @@ -13,27 +13,29 @@ opcache.preload= function foo() { $o = new stdClass(); $o->foo = 0; - $i = 1; - $c = $i < 2; - if ($c) { - $k = 2 * $i; - $o->foo = $i; - echo $o->foo; - } - $o->foo += 2; - $o->foo++; - echo $o->foo; + $i = 1; + $c = $i < 2; + if ($c) { + $k = 2 * $i; + $o->foo = $i; + echo $o->foo; + } + $o->foo += 2; + $o->foo++; + echo $o->foo; } ?> --EXPECTF-- -$_main: ; (lines=1, args=0, vars=0, tmps=0) - ; (after optimizer) - ; %ssccp_012.php:1-17 -L0 (17): RETURN int(1) +$_main: + ; (lines=1, args=0, vars=0, tmps=0) + ; (after optimizer) + ; %ssccp_012.php:1-17 +0000 RETURN int(1) -foo: ; (lines=3, args=0, vars=0, tmps=0) - ; (after optimizer) - ; %ssccp_012.php:2-15 -L0 (10): ECHO int(1) -L1 (14): ECHO int(4) -L2 (15): RETURN null +foo: + ; (lines=3, args=0, vars=0, tmps=0) + ; (after optimizer) + ; %ssccp_012.php:2-15 +0000 ECHO string("1") +0001 ECHO string("4") +0002 RETURN null |