Searched refs:interface (Results 26 – 50 of 227) sorted by relevance
12345678910
5 interface constr110 interface constr2 extends constr121 interface constr3
8 interface Foo {12 interface Bar {38 Catchable fatal error: Argument 1 passed to FooBar::a() must implement interface Foo, instance of B…
5 interface IA {9 interface IB extends IA {
2 ZE2 An interface cannot have properties8 interface if_a {
2 ZE2 An interface method must be abstract8 interface if_a {
10 die("skip interface 1 either doesn't exist or has no ipv4 address");37 echo "interface 0:\n";42 echo "interface 1:\n";61 interface 0:64 interface 1:
14 die("skip interface 1 either doesn't exist or has no ipv6 address");41 echo "interface 0:\n";46 echo "interface 1:\n";65 interface 0:68 interface 1:
2 Testing constants (normal, namespace, class and interface)16 interface Ifoo {21 $const2 = __NAMESPACE__ .'\\Ifoo'; // interface
2 Testing instanceof operator with class and interface inheriteds6 interface ITest {9 interface IFoo extends ITest {
2 Testing parameter type-hinted with interface8 interface foo {33 Catchable fatal error: Argument 1 passed to foo\bar::__construct() must implement interface foo\foo…
2 ZE2 Late Static Binding interface name "static"5 interface static {
2 Trying use name of an internal class as interface name6 interface stdClass { }
2 Testing creation of alias using an existing interface name8 interface test { }
9 interface bar extends foo {15 Fatal error: bar cannot implement foo - it is not an interface in %s on line %d
2 errmsg: cannot use 'self' as interface name12 Fatal error: Cannot use 'self' as interface name as it is reserved in %s on line %d
2 errmsg: cannot use 'parent' as interface name12 Fatal error: Cannot use 'parent' as interface name as it is reserved in %s on line %d
2 Testing __call() declaration in interface with wrong modifier6 interface a {
2 Testing __callstatic declaration in interface with missing the 'static' modifier6 interface a {
18 foreach (get_declared_interfaces() as $interface) {19 if (!interface_exists($interface)) {20 echo "Error: $interface is not a valid interface.\n";
2 Test interface_exists() function : autoloaded interface 11 echo "*** Testing interface_exists() : autoloaded interface ***\n";27 *** Testing interface_exists() : autoloaded interface ***
49 30: Objects returned by bad1::getIterator() must be traversable or implement interface Iterator50 30: Objects returned by bad2::getIterator() must be traversable or implement interface Iterator51 30: Objects returned by bad3::getIterator() must be traversable or implement interface Iterator52 30: Objects returned by bad4::getIterator() must be traversable or implement interface Iterator
13 interface I0 {}14 interface I1 {}15 interface I2 {}16 interface I3 {}17 interface I4 extends I3 {}18 interface I5 extends I4 {}19 interface I6 extends I5, I1, I2 {}20 interface I7 extends I6 {}
8 interface Foo { }10 interface Bar { }
2 Using traits to implement interface11 interface baz {
2 Trying to use an interface as trait6 interface abc {
Completed in 24 milliseconds