dis-bench / src /php /php-src /Zend /tests /constexpr /gh9136_2.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
240 Bytes
--TEST--
GH-9136: Assertion when fetching property of magic constant in constant expression with nullsafe operator
--FILE--
<?php
const C = __file__?->foo;
?>
--EXPECTF--
Warning: Attempt to read property "foo" on string in %s on line %d