blob: de53c2c0caa541a16cb5800a512f57c323880c54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--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."
|