- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
- Parse error: syntax error, unexpected ':', expecting ';' or '{' in /in/22om4 on line 5
Process exited with code 255.
<?php
Class Foo {
Public function test():self {
return $this;
}
}
$foo = new Foo;
$foo->test()