Home
last modified time | relevance | path

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

123

/PHP-7.0/ext/spl/examples/
H A Dclass_tree.php88 $interfaces = array_diff(class_implements($result), class_implements($parent));
89 if ($interfaces)
92 foreach($interfaces as $interface)
96 $interfaces = array_diff($interfaces, $implements);
97 natcasesort($interfaces);
98 $result .= ' (' . join(', ', $interfaces) . ')';
/PHP-7.0/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.0/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";
31 --- testing no interfaces ---
H A Dclass_implements_basic.phpt6 * Description: Return all classes and interfaces implemented by SPL
/PHP-7.0/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.0/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.0/ext/spl/
H A DTODO3 Implement the classes/interfaces from the .inc files in
/PHP-7.0/tests/classes/
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 Dinterface_class.phpt2 ZE2 A class can only implement interfaces
H A Dinterfaces_001.phpt2 ZE2 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.0/Zend/tests/
H A Dbug30922.phpt2 Bug #30922 (reflective functions crash PHP when interfaces extend themselves)
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
H A Dns_054.phpt2 054: namespace and interfaces

Completed in 25 milliseconds

123