- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
- Parse error: syntax error, unexpected '}', expecting ';' in /in/uSFDe on line 16
Process exited with code 255.
<?php
interface Baz
{
public function foo();
}
trait Foo {
public function foo(){
echo 'foo me';
}
}
class Bar implements Baz
{
use Foo {Baz::foo as biz}
}
$foo = new Foo();
$foo->biz();