- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
- Parse error: syntax error, unexpected 'uses' (T_STRING), expecting '{' in /in/7E7jL on line 13
Process exited with code 255.
<?php
interface TestInterface {}
interface FooInterface
{
public function bar(TestInterface $variable);
}
class Foo uses FooInterface
{
public function bar($variable) {}
}
$foo = new Foo;
$foo->bar('test');