Home
last modified time | relevance | path

Searched refs:interface (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/PHP-7.4/ext/reflection/tests/
H A DReflectionClass_getInterfaces_002.phpt2 ReflectionClass::getInterfaces() - interface ordering.
8 interface I1 {}
9 interface I2 {}
10 interface I3 {}
11 interface I4 extends I3 {}
12 interface I5 extends I4 {}
13 interface I6 extends I5, I1, I2 {}
14 interface I7 extends I6 {}
H A DReflectionClass_implementsInterface_001.phpt8 interface I1 {}
12 interface I2 extends I1 {}
70 - Using object argument: A is not an interface
71 - Using string argument: A is not an interface
73 - Using object argument: B is not an interface
74 - Using string argument: B is not an interface
76 - Using object argument: C is not an interface
77 - Using string argument: C is not an interface
85 - Using object argument: A is not an interface
86 - Using string argument: A is not an interface
[all …]
/PHP-7.4/Zend/tests/
H A Dname_collision_04.phpt2 Object naming collision error: interface/interface
6 interface A { }
7 interface A { }
11 Fatal error: Cannot declare interface A, because the name is already in use in %s on line %d
H A Dinter_04.phpt2 Trying declare interface with repeated name of inherited method
6 interface a {
10 interface b {
14 interface c extends a, b {
H A Dobjects_018.phpt2 Using the same function name on interface with inheritance
6 interface Itest {
10 interface Itest2 {
14 interface Itest3 extends Itest, Itest2 {
H A Dobjects_014.phpt2 extending the same interface twice
6 interface foo {
9 interface bar extends foo, foo {
15 Fatal error: Class bar cannot implement previously implemented interface foo in %s on line %d
H A Dclass_alias_009.phpt2 Testing interface declaration using the original and alias class name
6 interface a { }
10 interface c extends a, b { }
14 Fatal error: Class c cannot implement previously implemented interface a in %s on line %d
H A Dbug63816.phpt2 Bug #63816: implementation child interface and after parent cause fatal error
6 interface RootInterface
11 interface FirstChildInterface extends RootInterface
16 interface SecondChildInterface extends RootInterface
H A Dinter_03.phpt2 Testing interface constants with inheritance
6 interface a {
10 interface b extends a {
H A Dinter_05.phpt2 Trying to inherit a class in an interface
6 interface a extends Exception { }
10 Fatal error: a cannot implement Exception - it is not an interface in %s on line %d
H A Dname_collision_02.phpt2 Object naming collision error: class/interface
7 interface A { }
11 Fatal error: Cannot declare interface A, because the name is already in use in %s on line %d
H A Dinter_06.phpt2 Trying use name of an internal class as interface name
6 interface stdClass { }
10 Fatal error: Cannot declare interface stdClass, because the name is already in use in %s on line %d
H A Dobjects_013.phpt2 implementing the same interface twice
6 interface foo {
15 Fatal error: Class bar cannot implement previously implemented interface foo in %s on line %d
H A Dexception_005.phpt2 Trying to throw exception of an interface
6 interface a { }
12 Fatal error: Uncaught Error: Cannot instantiate interface a in %s:%d
H A Dinterface_exists_002.phpt8 interface IFoo { }
10 interface ITest extends IFoo { }
12 interface IBar extends IFoo { }
H A Dinter_007.phpt6 interface d {
10 interface c {
16 interface a extends d, w { }
/PHP-7.4/ext/sockets/tests/
H A Dmcast_ipv4_recv.phpt13 "interface" => 'lo',
26 $interface = "lo";
47 "interface" => $interface,
64 "interface" => $interface,
76 "interface" => $interface,
88 "interface" => $interface,
101 "interface" => $interface,
112 "interface" => $interface,
124 "interface" => $interface,
135 "interface" => $interface,
[all …]
H A Dmcast_ipv6_recv.phpt21 "interface" => 0,
51 $interface = 0;
67 "interface" => $interface,
91 "interface" => $interface,
103 "interface" => $interface,
113 "interface" => $interface,
126 "interface" => $interface,
137 "interface" => $interface,
149 "interface" => $interface,
160 "interface" => $interface,
[all …]
H A Dmcast_ipv6_recv_limited.phpt15 * we're dealing with interface-local traffic... */
18 "interface" => 0,
21 die('skip unable to join multicast group on any interface.');
29 "interface" => 0,
34 "interface" => 0,
46 $interface = 0;
62 "interface" => $interface,
86 "interface" => $interface,
98 "interface" => $interface,
/PHP-7.4/tests/classes/
H A Dinterface_constant_inheritance_001.phpt2 Ensure an interface may not shadow an inherited constant.
5 interface I1 {
9 interface I2 extends I1 {
16 Fatal error: Cannot inherit previously-inherited or override constant FOO from interface I1 in %s o…
H A Dinterface_constant_inheritance_006.phpt2 Ensure a interface can not have protected constants
5 interface A {
9 Fatal error: Access type for interface constant A::FOO must be public in %s on line 3
H A Dinterface_constant_inheritance_007.phpt2 Ensure a interface can not have private constants
5 interface A {
9 Fatal error: Access type for interface constant A::FOO must be public in %s on line 3
H A Dinterface_method_private.phpt2 ZE2 An interface method cannot be private
6 interface if_a {
12 Fatal error: Access type for interface method if_a::err() must be omitted in %s on line %d
H A Dinterface_instantiate.phpt2 ZE2 An interface cannot be instantiated
6 interface if_a {
14 Fatal error: Uncaught Error: Cannot instantiate interface if_a in %s:%d
H A Dinterface_and_extends.phpt2 ZE2 a class cannot extend an interface
6 interface Test
24 Fatal error: Class Tester cannot extend from interface Test in %sinterface_and_extends.php on line …

Completed in 30 milliseconds

12345678910>>...12