Home
last modified time | relevance | path

Searched refs:class_exists (Results 1 – 25 of 71) sorted by last modified time

123

/PHP-5.5/tests/classes/
H A Dautoload_001.phpt2 ZE2 Autoload and class_exists
6 if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
17 var_dump(class_exists('autoload_root'));
H A Dautoload_002.phpt6 if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
H A Dautoload_003.phpt6 if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
17 var_dump(class_exists('autoload_derived'));
H A Dautoload_004.phpt6 if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
13 var_dump(class_exists($class_name));
18 var_dump(class_exists('autoload_derived'));
H A Dautoload_005.phpt6 if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
13 var_dump(class_exists($class_name, false));
18 var_dump(class_exists('autoload_derived', false));
19 var_dump(class_exists('autoload_derived', false));
H A Dautoload_006.phpt6 if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
18 var_dump(class_exists('autoload_implements', false));
26 var_dump(class_exists('autoload_implements', false));
H A Dautoload_018.phpt15 class_exists('UndefinedClass' . $i);
20 var_dump(class_exists('UndefinedClass0'));
H A Dautoload_019.phpt8 class_exists("undefinedCLASS");
11 class_exists("unDefinedClass");
/PHP-5.5/ext/standard/tests/strings/
H A Dbug72434.phpt5 if(!class_exists('zip')) die('ZipArchive');
/PHP-5.5/ext/standard/tests/serialize/
H A Dbug26762.phpt6 if (class_exists('autoload_root')) die('skip Autoload test classes exist already');
H A Dbug30234.phpt5 if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
17 var_dump(class_exists('autoload_implements', false));
26 var_dump(class_exists('autoload_implements', false));
/PHP-5.5/ext/standard/tests/class_object/
H A Dclass_exists_variation_003.phpt2 Test class_exists() function : usage variations - case sensitivity
5 /* Prototype : proto bool class_exists(string classname [, bool autoload])
12 var_dump(class_exists('casesensitivitytest'));
H A Dget_declared_classes_basic_001.phpt19 if (!class_exists($class)) {
H A Dclass_exists_basic_001.phpt2 Test class_exists() function : basic functionality
5 /* Prototype : proto bool class_exists(string classname [, bool autoload])
11 echo "*** Testing class_exists() : basic functionality ***\n";
18 var_dump( class_exists('C', true) );
20 var_dump( class_exists('stdclass', true) );
23 var_dump( class_exists('D', false) );
25 var_dump( class_exists('stdclass', false) );
28 var_dump( class_exists('E') );
30 var_dump( class_exists('stdclass') );
35 *** Testing class_exists() : basic functionality ***
[all …]
H A Dclass_exists_error_001.phpt2 Test class_exists() function : error conditions (wrong number of arguments)
5 /* Prototype : proto bool class_exists(string classname [, bool autoload])
15 echo "*** Testing class_exists() : error conditions ***\n";
18 echo "\n-- Testing class_exists() function with Zero arguments --\n";
19 var_dump( class_exists() );
21 //Test class_exists with one more than the expected number of arguments
26 var_dump( class_exists($classname, $autoload, $extra_arg) );
31 *** Testing class_exists() : error conditions ***
33 -- Testing class_exists() function with Zero arguments --
35 Warning: class_exists() expects at least 1 parameter, 0 given in %s on line 16
[all …]
H A Dclass_exists_variation_001.phpt2 Test class_exists() function : usage variations - unexpected types for argument 1
5 /* Prototype : proto bool class_exists(string classname [, bool autoload])
20 echo "*** Testing class_exists() : usage variations ***\n";
80 var_dump( class_exists($value, $autoload) );
86 *** Testing class_exists() : usage variations ***
123 Error: 2 - class_exists() expects parameter 1 to be string, array given, %s(77)
128 Error: 2 - class_exists() expects parameter 1 to be string, array given, %s(77)
133 Error: 2 - class_exists() expects parameter 1 to be string, array given, %s(77)
138 Error: 2 - class_exists() expects parameter 1 to be string, array given, %s(77)
143 Error: 2 - class_exists() expects parameter 1 to be string, array given, %s(77)
[all …]
H A Dclass_exists_variation_002.phpt2 Test class_exists() function : usage variations - unexpected types for argument 2
5 /* Prototype : proto bool class_exists(string classname [, bool autoload])
20 echo "*** Testing class_exists() : usage variations ***\n";
84 var_dump( class_exists($classname, $value) );
90 *** Testing class_exists() : usage variations ***
131 Error: 2 - class_exists() expects parameter 2 to be boolean, array given, %s(81)
136 Error: 2 - class_exists() expects parameter 2 to be boolean, array given, %s(81)
141 Error: 2 - class_exists() expects parameter 2 to be boolean, array given, %s(81)
146 Error: 2 - class_exists() expects parameter 2 to be boolean, array given, %s(81)
151 Error: 2 - class_exists() expects parameter 2 to be boolean, array given, %s(81)
[all …]
/PHP-5.5/ext/spl/tests/
H A Dspl_autoload_004.phpt26 var_dump(class_exists("TestClass", true));
H A Dspl_autoload_005.phpt40 var_dump(class_exists("TestClass", true));
H A Dspl_autoload_006.phpt20 var_dump(class_exists("TestClass", true));
H A Dspl_autoload_008.phpt53 var_dump(class_exists("NoExistingTestClass", true));
H A Dspl_autoload_009.phpt11 var_dump(class_exists($name));
H A Dspl_autoload_011.phpt23 var_dump(class_exists("C", true));
H A Dspl_autoload_001.phpt63 var_dump(class_exists("TestClass", true));
80 var_dump(class_exists("TestClass", true));
90 var_dump(class_exists("TestClass", true));
H A Dspl_autoload_003.phpt30 var_dump(class_exists("TestClass", true));

Completed in 87 milliseconds

123