Searched refs:interface_exists (Results 1 – 13 of 13) sorted by relevance
/PHP-7.3/Zend/tests/ |
H A D | 013.phpt | 2 interface_exists() tests 9 var_dump(interface_exists()); 10 var_dump(interface_exists("qwerty")); 11 var_dump(interface_exists("")); 12 var_dump(interface_exists(array())); 13 var_dump(interface_exists("test", false)); 14 var_dump(interface_exists("foo", false)); 15 var_dump(interface_exists("foo")); 16 var_dump(interface_exists("stdClass", false)); 17 var_dump(interface_exists("stdClass")); [all …]
|
H A D | interface_exists_001.phpt | 2 Testing interface_exists() 9 var_dump(interface_exists('foo')); 10 var_dump(interface_exists(1)); 11 var_dump(interface_exists(NULL)); 12 var_dump(interface_exists(new stdClass)); 20 Warning: interface_exists() expects parameter 1 to be string, object given in %s on line %d
|
H A D | interface_exists_002.phpt | 2 Testing interface_exists() inside a namespace 15 var_dump(interface_exists('IFoo')); 16 var_dump(interface_exists('foo\\IFoo')); 17 var_dump(interface_exists('FOO\\ITEST'));
|
H A D | bug47593.phpt | 2 Bug #47593 (interface_exists() returns false when using absolute namespace path) 21 var_dump(interface_exists('\test\baz'));
|
/PHP-7.3/ext/standard/tests/class_object/ |
H A D | interface_exists_error.phpt | 2 Test interface_exists() function : error conditions 5 /* Prototype : bool interface_exists(string classname [, bool autoload]) 11 echo "*** Testing interface_exists() : error conditions ***\n"; 14 echo "\n-- Testing interface_exists() function with Zero arguments --\n"; 15 var_dump( interface_exists() ); 17 //Test interface_exists with one more than the expected number of arguments 18 echo "\n-- Testing interface_exists() function with more than expected no. of arguments --\n"; 22 var_dump( interface_exists($classname, $autoload, $extra_arg) ); 27 *** Testing interface_exists() : error conditions *** 29 -- Testing interface_exists() function with Zero arguments -- [all …]
|
H A D | interface_exists_variation3.phpt | 2 Test interface_exists() function : autoloaded interface 5 /* Prototype : bool interface_exists(string classname [, bool autoload]) 11 echo "*** Testing interface_exists() : autoloaded interface ***\n"; 18 var_dump(interface_exists("AutoInterface", false)); 21 var_dump(interface_exists("AutoInterface", true)); 27 *** Testing interface_exists() : autoloaded interface ***
|
H A D | interface_exists_variation4.phpt | 2 Test interface_exists() function : test autoload default value 5 /* Prototype : bool interface_exists(string classname [, bool autoload]) 11 echo "*** Testing interface_exists() : test autoload default value ***\n"; 17 var_dump(interface_exists("AutoInterface")); 23 *** Testing interface_exists() : test autoload default value ***
|
H A D | interface_exists_variation1.phpt | 2 Test interface_exists() function : usage variation 5 /* Prototype : bool interface_exists(string classname [, bool autoload]) 11 echo "*** Testing interface_exists() : usage variation ***\n"; 92 var_dump( interface_exists($value, $autoload) ); 98 *** Testing interface_exists() : usage variation *** 129 Warning: interface_exists() expects parameter 1 to be string, array given in %sinterface_exists_var… 134 Warning: interface_exists() expects parameter 1 to be string, array given in %sinterface_exists_var… 139 Warning: interface_exists() expects parameter 1 to be string, array given in %sinterface_exists_var… 144 Warning: interface_exists() expects parameter 1 to be string, array given in %sinterface_exists_var… 176 Warning: interface_exists() expects parameter 1 to be string, object given in %sinterface_exists_va…
|
H A D | interface_exists_variation2.phpt | 2 Test interface_exists() function : usage variation 5 /* Prototype : bool interface_exists(string classname [, bool autoload]) 11 echo "*** Testing interface_exists() : usage variation ***\n"; 98 var_dump( interface_exists($classname, $value) ); 104 *** Testing interface_exists() : usage variation *** 135 Warning: interface_exists() expects parameter 2 to be bool, array given in %sinterface_exists_varia… 140 Warning: interface_exists() expects parameter 2 to be bool, array given in %sinterface_exists_varia… 145 Warning: interface_exists() expects parameter 2 to be bool, array given in %sinterface_exists_varia… 150 Warning: interface_exists() expects parameter 2 to be bool, array given in %sinterface_exists_varia… 191 Warning: interface_exists() expects parameter 2 to be bool, object given in %sinterface_exists_vari… [all …]
|
H A D | get_declared_interfaces_basic_001.phpt | 19 if (!interface_exists($interface)) {
|
/PHP-7.3/tests/classes/ |
H A D | autoload_006.phpt | 15 var_dump(interface_exists('autoload_interface', false)); 23 var_dump(interface_exists('autoload_interface', false));
|
/PHP-7.3/ext/standard/tests/serialize/ |
H A D | bug30234.phpt | 15 var_dump(interface_exists('autoload_interface', false)); 24 var_dump(interface_exists('autoload_interface', false));
|
/PHP-7.3/Zend/ |
H A D | zend_builtin_functions.c | 50 static ZEND_FUNCTION(interface_exists); 257 ZEND_FE(interface_exists, arginfo_class_exists) 1457 ZEND_FUNCTION(interface_exists) in ZEND_FUNCTION() argument
|
Completed in 18 milliseconds