Skip to content

Commit 19378ae

Browse files
committed
Merge branch 'PHP-7.4'
2 parents 2e4f76d + 76fecb3 commit 19378ae

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

ext/opcache/tests/bug77191.phpt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
--TEST--
2+
Bug #77191: Assertion failure in dce_live_ranges() when silencing is used
3+
--FILE--
4+
<?php
5+
function test($x) {
6+
switch (@$x['y']) {
7+
case 1: return 'a';
8+
case 2: return 'b';
9+
case 3: return 'c';
10+
case 4: return 'd';
11+
}
12+
return 'e';
13+
}
14+
var_dump(test([]));
15+
?>
16+
--EXPECT--
17+
string(1) "e"

0 commit comments

Comments
 (0)