Skip to content

Commit 5aa5080

Browse files
committed
Fix attribute test on newer branches
1 parent 480d08a commit 5aa5080

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Zend/tests/gh10014.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ GH-10014: Incorrect short-circuiting in constant expressions
77
class y {
88
}
99

10+
(new ReflectionClass(y::class))->getAttributes()[0]->newInstance();
11+
1012
?>
1113
--EXPECTF--
1214
Warning: Undefined array key 2 in %s on line %d

0 commit comments

Comments
 (0)