mirror of
https://github.com/php/php-src.git
synced 2024-09-29 05:46:06 +00:00
12 lines
250 B
Plaintext
12 lines
250 B
Plaintext
|
--TEST--
|
||
|
Static property access on constexpr class evaluating to integer
|
||
|
--FILE--
|
||
|
<?php
|
||
|
((int)1)::$b;
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: Uncaught Error: Class name must be a valid object or a string in %s:%d
|
||
|
Stack trace:
|
||
|
#0 {main}
|
||
|
thrown in %s on line %d
|