Home
last modified time | relevance | path

Searched refs:get_declared_interfaces (Results 1 – 7 of 7) sorted by relevance

/PHP-7.2/ext/standard/tests/class_object/
H A Dget_declared_interfaces_error_001.phpt2 Test get_declared_interfaces() function : error conditions
5 /* Prototype : proto array get_declared_interfaces()
11 echo "*** Testing get_declared_interfaces() : error conditions ***\n";
14 echo "\n-- Testing get_declared_interfaces() function with one argument --\n";
16 var_dump( get_declared_interfaces($extra_arg) );
21 *** Testing get_declared_interfaces() : error conditions ***
23 -- Testing get_declared_interfaces() function with one argument --
25 Warning: get_declared_interfaces() expects exactly 0 parameters, 1 given in %s on line 13
H A Dget_declared_interfaces_basic_001.phpt2 Test get_declared_interfaces() function : basic functionality
5 /* Prototype : proto array get_declared_interfaces()
12 echo "*** Testing get_declared_interfaces() : basic functionality ***\n";
15 echo "\n-- Testing get_declared_interfaces() function with Zero arguments --\n";
16 var_dump(get_declared_interfaces());
18 foreach (get_declared_interfaces() as $interface) {
26 var_dump(in_array('C', get_declared_interfaces()));
30 var_dump(in_array('I', get_declared_interfaces()));
35 *** Testing get_declared_interfaces() : basic functionality ***
37 -- Testing get_declared_interfaces() function with Zero arguments --
H A Dget_declared_interfaces_variation1.phpt2 Test get_declared_interfaces() function : autoloading of interfaces
5 /* Prototype : proto array get_declared_interfaces()
12 echo "*** Testing get_declared_interfaces() : autoloading of interfaces ***\n";
19 var_dump(in_array('AutoInterface', get_declared_interfaces()));
24 var_dump(in_array('AutoInterface', get_declared_interfaces()));
29 *** Testing get_declared_interfaces() : autoloading of interfaces ***
/PHP-7.2/Zend/tests/
H A D017.phpt32 var_dump(get_declared_interfaces(true));
33 var_dump(gettype(get_declared_interfaces()));
34 var_dump(count(get_declared_interfaces()));
70 Warning: get_declared_interfaces() expects exactly 0 parameters, 1 given in %s on line %d
/PHP-7.2/scripts/dev/
H A Dsearch_underscores.php32 $classes = array_merge(get_declared_classes(), get_declared_interfaces());
/PHP-7.2/ext/spl/examples/
H A Dclass_tree.php66 foreach(get_declared_interfaces() as $cname)
/PHP-7.2/Zend/
H A Dzend_builtin_functions.c68 static ZEND_FUNCTION(get_declared_interfaces);
276 ZEND_FE(get_declared_interfaces, arginfo_zend__void)
1772 ZEND_FUNCTION(get_declared_interfaces) in ZEND_FUNCTION() argument

Completed in 18 milliseconds