Home
last modified time | relevance | path

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

12345678910>>...12

/PHP-7.3/ext/reflection/tests/
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 …]
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 {}
/PHP-7.3/ext/date/tests/
H A Dtimezone_offset_get_variation2.phpt126 Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, int given
129 Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, int given
132 Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, int given
135 Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, int given
138 Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, float given
159 Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, null given
162 Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, null given
165 Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, bool given
168 Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, bool given
171 Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, bool given
[all …]
/PHP-7.3/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 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 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_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 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 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 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 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 Derrmsg_025.phpt6 interface test1 {
10 interface test2 {
20 Fatal error: Cannot inherit previously-inherited or override constant FOO from interface test2 in %…
/PHP-7.3/ext/sockets/tests/
H A Dmcast_ipv4_recv.phpt12 "interface" => 'lo',
25 $interface = "lo";
46 "interface" => $interface,
63 "interface" => $interface,
75 "interface" => $interface,
87 "interface" => $interface,
100 "interface" => $interface,
111 "interface" => $interface,
123 "interface" => $interface,
134 "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.3/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
/PHP-7.3/ext/standard/tests/class_object/
H A Dget_declared_interfaces_variation1.phpt18 echo "\n-- before interface is used --\n";
22 echo "\n-- after interface is used --\n";
31 -- before interface is used --
34 -- after interface is used --

Completed in 27 milliseconds

12345678910>>...12