mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Fix attribute test on newer branches
This commit is contained in:
@@ -7,6 +7,8 @@ GH-10014: Incorrect short-circuiting in constant expressions
|
||||
class y {
|
||||
}
|
||||
|
||||
(new ReflectionClass(y::class))->getAttributes()[0]->newInstance();
|
||||
|
||||
?>
|
||||
--EXPECTF--
|
||||
Warning: Undefined array key 2 in %s on line %d
|
||||
|
||||
Reference in New Issue
Block a user