Home
last modified time | relevance | path

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

12345678910>>...12

/PHP-7.1/tests/classes/
H A Dinterface_instantiate.phpt2 ZE2 An interface cannot be instantiated
8 interface if_a {
16 Fatal error: Uncaught Error: Cannot instantiate interface if_a in %s:%d
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 Dinterface_and_extends.phpt2 ZE2 a class cannot extend an interface
8 interface Test
26 Fatal error: Class Tester cannot extend from interface Test in %sinterface_and_extends.php on line …
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.phpt8 interface Foo {
12 interface Bar {
37 Fatal error: Uncaught TypeError: Argument 1 passed to FooBar::a() must implement interface Foo, ins…
/PHP-7.1/Zend/tests/
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 Dobjects_012.phpt9 interface bar extends foo {
15 Fatal error: bar cannot implement foo - it is not an interface in %s on line %d
H A Dname_collision_05.phpt2 Object naming collision error: interface/trait
6 interface A { }
H A Dbug71871.phpt6 interface test {
12 Fatal error: Access type for interface method test::test() must be omitted in %s on line %d
H A Dbug71871_2.phpt6 interface test {
12 Fatal error: Access type for interface method test::test() must be omitted in %s on line %d
/PHP-7.1/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.1/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.1/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.1/Zend/tests/nullable_types/
H A Dcovariant_nullable_return_succeds.phpt6 interface A {
10 interface B extends A {
/PHP-7.1/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 {}
/PHP-7.1/Zend/tests/traits/
H A Dinterface_001.phpt2 Using traits to implement interface
11 interface baz {
H A Derror_003.phpt2 Trying to use an interface as trait
6 interface abc {

Completed in 28 milliseconds

12345678910>>...12