Home
last modified time | relevance | path

Searched refs:interface_exists (Results 1 – 17 of 17) sorted by relevance

/PHP-5.5/Zend/tests/
H A D013.phpt2 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 Dinterface_exists_001.phpt2 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 Dinterface_exists_002.phpt2 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 Dbug47593.phpt2 Bug #47593 (interface_exists() returns false when using absolute namespace path)
21 var_dump(interface_exists('\test\baz'));
/PHP-5.5/ext/standard/tests/class_object/
H A Dinterface_exists_error.phpt2 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 Dinterface_exists_variation3.phpt2 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 Dinterface_exists_variation4.phpt2 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";
18 var_dump(interface_exists("AutoInterface"));
24 *** Testing interface_exists() : test autoload default value ***
H A Dinterface_exists_variation1.phpt2 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 Dinterface_exists_variation2.phpt2 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 boolean, array given in %sinterface_exists_va…
140 Warning: interface_exists() expects parameter 2 to be boolean, array given in %sinterface_exists_va…
145 Warning: interface_exists() expects parameter 2 to be boolean, array given in %sinterface_exists_va…
150 Warning: interface_exists() expects parameter 2 to be boolean, array given in %sinterface_exists_va…
191 Warning: interface_exists() expects parameter 2 to be boolean, object given in %sinterface_exists_v…
[all …]
H A Dget_declared_interfaces_basic_001.phpt19 if (!interface_exists($interface)) {
/PHP-5.5/ext/standard/tests/serialize/
H A Dbug30234.phpt16 var_dump(interface_exists('autoload_interface', false));
25 var_dump(interface_exists('autoload_interface', false));
H A Dserialization_objects_010.phpt4 <?php if (!interface_exists('Serializable')) die('skip Interface Serialzable not defined'); ?>
H A D005.phpt4 <?php if (!interface_exists('Serializable')) die('skip Interface Serialzable not defined'); ?>
/PHP-5.5/tests/classes/
H A Dautoload_006.phpt17 var_dump(interface_exists('autoload_interface', false));
25 var_dump(interface_exists('autoload_interface', false));
/PHP-5.5/ext/pdo/tests/
H A Dpdo_018.phpt6 if (!interface_exists('Serializable')) die('skip no Serializable interface');
/PHP-5.5/Zend/
H A Dzend_builtin_functions.c52 static ZEND_FUNCTION(interface_exists);
263 ZEND_FE(interface_exists, arginfo_class_exists)
1262 ZEND_FUNCTION(interface_exists) in ZEND_FUNCTION() argument
/PHP-5.5/
H A DNEWS10064 - Added interface_exists() and make class_exists() only return true for real

Completed in 71 milliseconds