Home
last modified time | relevance | path

Searched refs:interfaces (Results 1 – 25 of 51) sorted by relevance

123

/PHP-7.4/ext/standard/tests/class_object/
H A Dget_declared_interfaces_variation1.phpt2 Test get_declared_interfaces() function : autoloading of interfaces
6 * Description: Returns an array of all declared interfaces.
12 echo "*** Testing get_declared_interfaces() : autoloading of interfaces ***\n";
29 *** Testing get_declared_interfaces() : autoloading of interfaces ***
H A Dget_declared_interfaces_basic_001.phpt6 * Description: Returns an array of all declared interfaces.
28 echo "\n-- Ensure userspace interfaces are listed --\n";
45 -- Ensure userspace interfaces are listed --
H A Dget_declared_classes_basic_001.phpt28 echo "\n-- Ensure userspace interfaces are not listed --\n";
45 -- Ensure userspace interfaces are not listed --
H A Dget_declared_traits_basic_001.phpt29 echo "\n-- Ensure userspace interfaces are not listed --\n";
51 -- Ensure userspace interfaces are not listed --
/PHP-7.4/ext/spl/tests/
H A Dclass_implements_variation.phpt2 SPL: Test class_implements() function : variation - no interfaces and autoload
6 * Description: Return all classes and interfaces implemented by SPL
13 echo "--- testing no interfaces ---\n";
30 --- testing no interfaces ---
H A Dclass_implements_basic.phpt6 * Description: Return all classes and interfaces implemented by SPL
/PHP-7.4/Zend/tests/traits/
H A Dbug60145.phpt2 Bug #60145 (Usage of trait's use statement inside interfaces not properly checked.)
17 Fatal error: Cannot use traits inside of interfaces. foo is used in MyInterface in %s on line %d
/PHP-7.4/ext/reflection/tests/
H A DReflectionClass_getInterfaces_002.phpt17 $interfaces = $rc->getInterfaces();
18 print_r($interfaces);
H A DReflectionClass_getInterfaces_001.phpt38 $interfaces = $rc->getInterfaces();
39 // Sort interfaces so that tests do not fail because of wrong order.
40 ksort($interfaces);
41 print_r($interfaces);
H A DReflectionClass_getInterfaces_003.phpt19 echo "\n\nObtain the array of interfaces implemented by C.\n";
50 Obtain the array of interfaces implemented by C.
/PHP-7.4/tests/classes/
H A Dinterfaces_001.phpt2 ZE2 interfaces
H A Dinterface_class.phpt2 ZE2 A class can only implement interfaces
H A Dinterface_constant_inheritance_004.phpt2 Ensure a class may implement two interfaces which include the same constant (due to inheritance).
H A Dinheritance_003.phpt2 ZE2 method inheritance without interfaces
H A Dinheritance_004.phpt2 ZE2 method inheritance without interfaces
H A Dctor_in_interface_03.phpt2 ZE2 A class constructor must keep the signature of base class interfaces
H A Dctor_in_interface_04.phpt2 ZE2 A class constructor must keep the signature of base class interfaces
H A Dinterface_constant_inheritance_003.phpt2 Ensure a class may not inherit two constants with the same name from two separate interfaces.
H A Dctor_in_interface_02.phpt2 ZE2 A class constructor must keep the signature of all interfaces
/PHP-7.4/Zend/tests/
H A Dbug30922.phpt2 Bug #30922 (reflective functions crash PHP when interfaces extend themselves)
H A Dns_054.phpt2 054: namespace and interfaces
H A Dbug53727.phpt2 Bug #53727 (Inconsistent behavior of is_subclass_of with interfaces)
H A Dbug71428.2.phpt2 bug #71428.2: inheritance of ye olde dynamic interfaces
/PHP-7.4/Zend/
H A Dzend_inheritance.c1035 entry = iface->interfaces[if_num]; in zend_do_inherit_interfaces()
1037 if (ce->interfaces[i] == entry) { in zend_do_inherit_interfaces()
1415 if (ce->interfaces[i] == NULL) { in zend_do_implement_interface()
1461 efree(interfaces); in zend_do_implement_interfaces()
1466 if (interfaces[j] == iface) { in zend_do_implement_interfaces()
1468 efree(interfaces); in zend_do_implement_interfaces()
1482 interfaces[num_interfaces] = iface; in zend_do_implement_interfaces()
1494 ce->interfaces = interfaces; in zend_do_implement_interfaces()
2479 interfaces = emalloc( in zend_do_link_class()
2482 memcpy(interfaces, parent->interfaces, in zend_do_link_class()
[all …]
/PHP-7.4/ext/standard/tests/serialize/
H A Dbug30234.phpt2 Bug #30234 (__autoload() not invoked for interfaces)

Completed in 44 milliseconds

123