- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
- Parse error: syntax error, unexpected end of file in /in/Xu3Ii on line 21
Process exited with code 255.
<?php
class A
{
private function __construct()
{
throw new Exception('thrown');
}
public function A()
{
return array('a', 'b', 'c');
}
public static function I()
{
return new A();
}
}
var_dump(A::A())[1]