mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
13 lines
214 B
PHP
13 lines
214 B
PHP
--TEST--
|
|
String interning during constants substitution
|
|
--INI--
|
|
opcache.enable_cli=0
|
|
--FILE--
|
|
<?php
|
|
define ("A", "." . ord(26) . ".");
|
|
eval("class A {const a = A;}");
|
|
var_dump(A::a);
|
|
?>
|
|
--EXPECT--
|
|
string(4) ".50."
|