File size: 265 Bytes
1e94262 | 1 2 3 4 5 6 7 8 9 10 11 12 | --TEST--
GH-9138: NULL pointer dereference when fetching property of "bad" list in constant expression with nullsafe operator
--FILE--
<?php
#[Attribute([,]?->e)]
class Foo {}
?>
--EXPECTF--
Fatal error: Cannot use empty array elements in arrays in %s on line %d
|