/PHP-8.0/ext/reflection/tests/ |
H A D | ReflectionClass_getInterfaces_002.phpt | 2 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 D | ReflectionClass_implementsInterface_001.phpt | 8 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-8.0/Zend/tests/ |
H A D | name_collision_04.phpt | 2 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 D | objects_018.phpt | 2 Using the same function name on interface with inheritance 6 interface Itest { 10 interface Itest2 { 14 interface Itest3 extends Itest, Itest2 {
|
H A D | inter_04.phpt | 2 Trying declare interface with repeated name of inherited method 6 interface a { 10 interface b { 14 interface c extends a, b {
|
H A D | objects_014.phpt | 2 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 D | class_alias_009.phpt | 2 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 D | bug63816.phpt | 2 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 D | inter_03.phpt | 2 Testing interface constants with inheritance 6 interface a { 10 interface b extends a {
|
H A D | name_collision_02.phpt | 2 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 D | inter_05.phpt | 2 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 D | objects_013.phpt | 2 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 D | inter_06.phpt | 2 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 D | exception_005.phpt | 2 Trying to throw exception of an interface 6 interface a { } 12 Fatal error: Uncaught Error: Cannot instantiate interface a in %s:%d
|
H A D | interface_exists_002.phpt | 8 interface IFoo { } 10 interface ITest extends IFoo { } 12 interface IBar extends IFoo { }
|
H A D | inter_007.phpt | 6 interface d { 10 interface c { 16 interface a extends d, w { }
|
/PHP-8.0/ext/sockets/tests/ |
H A D | mcast_ipv4_recv.phpt | 13 "interface" => 'lo', 26 $interface = "lo"; 48 "interface" => $interface, 65 "interface" => $interface, 77 "interface" => $interface, 89 "interface" => $interface, 102 "interface" => $interface, 113 "interface" => $interface, 125 "interface" => $interface, 136 "interface" => $interface, [all …]
|
H A D | mcast_ipv6_recv.phpt | 22 "interface" => 0, 52 $interface = 0; 69 "interface" => $interface, 93 "interface" => $interface, 105 "interface" => $interface, 115 "interface" => $interface, 128 "interface" => $interface, 139 "interface" => $interface, 151 "interface" => $interface, 162 "interface" => $interface, [all …]
|
H A D | mcast_ipv6_recv_limited.phpt | 15 * 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-8.0/tests/classes/ |
H A D | interface_constant_inheritance_001.phpt | 2 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 D | interface_constant_inheritance_006.phpt | 2 Ensure a interface can not have protected constants 5 interface A { 10 Fatal error: Access type for interface constant A::FOO must be public in %s on line 3
|
H A D | interface_constant_inheritance_007.phpt | 2 Ensure a interface can not have private constants 5 interface A { 10 Fatal error: Access type for interface constant A::FOO must be public in %s on line 3
|
H A D | interface_method_private.phpt | 2 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 D | interface_instantiate.phpt | 2 ZE2 An interface cannot be instantiated 6 interface if_a { 14 Fatal error: Uncaught Error: Cannot instantiate interface if_a in %s:%d
|
/PHP-8.0/ext/standard/tests/class_object/ |
H A D | get_declared_interfaces_variation1.phpt | 11 echo "\n-- before interface is used --\n"; 15 echo "\n-- after interface is used --\n"; 24 -- before interface is used -- 27 -- after interface is used --
|