1
0
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:
Ilija Tovilo
2024-05-06 13:00:47 +02:00
parent 480d08a70a
commit 5aa5080ea7

View File

@@ -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