mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
11 lines
193 B
Plaintext
11 lines
193 B
Plaintext
|
--TEST--
|
||
|
Cannot use static::FOO in constant expressions
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
const C = static::FOO;
|
||
|
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: "static::" is not allowed in compile-time constants in %s on line %d
|