File size: 216 Bytes
1e94262
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
--TEST--
GH-9136: Assertion when fetching property of magic constant in constant expression
--FILE--
<?php

const C = __file__->foo;

?>
--EXPECTF--
Warning: Attempt to read property "foo" on string in %s on line %d