Home
last modified time | relevance | path

Searched refs:interface (Results 26 – 50 of 300) sorted by relevance

12345678910>>...12

/PHP-7.2/Zend/tests/
H A Dinter_007.phpt6 interface d {
10 interface c {
16 interface a extends d, w { }
H A Dbug33732.phpt2 Bug #33732 (Wrong behavior of constants in class and interface extending)
5 interface iA {
20 interface iA2 {
24 interface iB2 extends iA2 {
H A Dinter_01.phpt2 Inherited constant from interface
5 interface foo {
18 Fatal error: Cannot inherit previously-inherited or override constant foo from interface foo in %s …
H A Dclass_constants_004.phpt2 Testing constants (normal, namespace, class and interface)
16 interface Ifoo {
21 $const2 = __NAMESPACE__ .'\\Ifoo'; // interface
H A Dinstanceof_002.phpt2 Testing instanceof operator with class and interface inheriteds
6 interface ITest {
9 interface IFoo extends ITest {
H A Dlsb_009.phpt2 ZE2 Late Static Binding interface name "static"
5 interface static {
H A Dns_072.phpt2 Testing parameter type-hinted with interface
8 interface foo {
33 …t TypeError: Argument 1 passed to foo\bar::__construct() must implement interface foo\foo or be nu…
H A Dbug77652.phpt2 Bug #77652: Anonymous classes can lose their interface information
6 interface I {}
/PHP-7.2/Zend/tests/object_types/
H A Dmissing_return_type_inheritance_in_interface.phpt2 Missing interface method a object return type during inheritance
6 interface One {
10 interface Two extends One {
H A Dreturn_type_inheritance_in_interface.phpt2 Adding interface method a object return type during inheritance is allowed
6 interface One {
10 interface Two extends One {
/PHP-7.2/tests/classes/
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 …
H A Dinterface_constant_inheritance_002.phpt2 Ensure a class may not shadow a constant inherited from an interface.
5 interface I {
16 Fatal error: Cannot inherit previously-inherited or override constant FOO from interface I in %s on…
H A Dinterface_constant_inheritance_003.phpt5 interface I1 {
9 interface I2 {
19 Fatal error: Cannot inherit previously-inherited or override constant FOO from interface I2 in %s o…
H A Dctor_in_interface_02.phpt5 interface constr1
10 interface constr2 extends constr1
21 interface constr3
H A Dinterface_constant_inheritance_005.phpt2 Ensure a interface can have public constants
5 interface IA {
H A Dtype_hinting_001.phpt6 interface Foo {
10 interface Bar {
35 Fatal error: Uncaught TypeError: Argument 1 passed to FooBar::a() must implement interface Foo, ins…
H A Dinterface_member.phpt2 ZE2 An interface cannot have properties
6 interface if_a {
H A Dinterface_method.phpt2 ZE2 An interface method must be abstract
6 interface if_a {
/PHP-7.2/ext/sockets/tests/
H A Dmcast_ipv4_send.phpt10 die("skip interface 1 either doesn't exist or has no ipv4 address");
37 echo "interface 0:\n";
42 echo "interface 1:\n";
60 interface 0:
63 interface 1:
H A Dmcast_ipv6_send.phpt14 die("skip interface 1 either doesn't exist or has no ipv6 address");
41 echo "interface 0:\n";
46 echo "interface 1:\n";
64 interface 0:
67 interface 1:
/PHP-7.2/ext/standard/tests/class_object/
H A Dget_declared_interfaces_basic_001.phpt18 foreach (get_declared_interfaces() as $interface) {
19 if (!interface_exists($interface)) {
20 echo "Error: $interface is not a valid interface.\n";
H A Dinterface_exists_variation3.phpt2 Test interface_exists() function : autoloaded interface
11 echo "*** Testing interface_exists() : autoloaded interface ***\n";
27 *** Testing interface_exists() : autoloaded interface ***
/PHP-7.2/tests/lang/
H A DforeachLoopIteratorAggregate.002.phpt49 30: Objects returned by bad1::getIterator() must be traversable or implement interface Iterator
50 30: Objects returned by bad2::getIterator() must be traversable or implement interface Iterator
51 30: Objects returned by bad3::getIterator() must be traversable or implement interface Iterator
52 30: Objects returned by bad4::getIterator() must be traversable or implement interface Iterator
/PHP-7.2/Zend/tests/nullable_types/
H A Dcovariant_nullable_return_succeds.phpt6 interface A {
10 interface B extends A {
/PHP-7.2/ext/reflection/tests/
H A DReflectionClass_getInterfaces_001.phpt13 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 {}

Completed in 128 milliseconds

12345678910>>...12