We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 275fa53 + ab8782d commit 9ca9394Copy full SHA for 9ca9394
ext/opcache/tests/bug77743.phpt
@@ -2,33 +2,16 @@
2
Bug #77743: Incorrect pi node insertion for jmpznz with identical successors
3
--FILE--
4
<?php
5
-class Toto
6
-{
7
- public function process1()
8
- {
9
- $keep_products = [1, 2, 3, 4];
10
- foreach ($keep_products as $k => $v)
11
12
- $id_country = myRet(45);
13
- if ($id_country === false && false)
14
15
- }
16
17
- var_dump($id_country === false);
18
19
+function buggy($a) {
+ $id_country = $a;
+ if ($id_country === false) {
+ if (true) {
+ }
+ var_dump($id_country);
20
}
21
22
-function myRet($x){
23
- return $x;
24
-}
25
-
26
-$toto = new Toto();
27
-$toto->process1();
28
29
-?>
+buggy(42);
30
--EXPECT--
31
-bool(false)
32
33
34
+int(42)
0 commit comments