1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.3'

* PHP-8.3:
  Fix attribute test on newer branches
This commit is contained in:
Ilija Tovilo
2024-05-06 13:01:12 +02:00

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