- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.25
- Parse error: syntax error, unexpected '{', expecting ')' in /in/gthvt on line 20
Process exited with code 255.
<?php
class A
{
public $b;
}
class C
{
public static $d;
}
C::$d = 'Hello world';
$a = new A;
$a->b = 'C';
var_dump({$a->b}::$d);