- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.31
- Parse error: syntax error, unexpected '(', expecting ')' in /in/nrteR on line 11
Process exited with code 255.
<?php
class Foo{
static function hello(){
echo "Hello";
}
}
class Bar{
public $message = array(
'foo' => Foo::hello()
);
}
$Bar = new Bar();
echo $bar->message['foo'];
?>