Skip to content

Commit ee709ef

Browse files
committed
Expand test for full test coverage
1 parent 5cd2fbe commit ee709ef

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

ext/opcache/tests/gh21052.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,7 @@ array(1) {
2626
[0]=>
2727
string(3) "foo"
2828
}
29+
array(1) {
30+
[0]=>
31+
string(3) "foo"
32+
}

ext/opcache/tests/gh21052_a.inc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ class A {
77
return ['foo'];
88
}
99
}
10+
11+
function test() {
12+
return ['foo'];
13+
}

ext/opcache/tests/gh21052_b.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22

33
var_dump(A::C);
44
var_dump(A::test());
5+
var_dump(test());

0 commit comments

Comments
 (0)