Home
last modified time | relevance | path

Searched refs:class_exists (Results 51 – 75 of 80) sorted by path

1234

/PHP-7.4/ext/phar/tests/
H A Dphar_createdefaultstub.phpt41 if (in_array('phar', stream_get_wrappers()) && class_exists('Phar', 0)) {
335 if (in_array('phar', stream_get_wrappers()) && class_exists('Phar', 0)) {
637 if (in_array('phar', stream_get_wrappers()) && class_exists('Phar', 0)) {
H A Dphar_setdefaultstub.phpt61 if (in_array('phar', stream_get_wrappers()) && class_exists('Phar', 0)) {
356 if (in_array('phar', stream_get_wrappers()) && class_exists('Phar', 0)) {
651 if (in_array('phar', stream_get_wrappers()) && class_exists('Phar', 0)) {
/PHP-7.4/ext/phar/tests/zip/files/
H A Dzipmaker.php.inc18 if (!class_exists('ZIPArchive')) {
/PHP-7.4/ext/reflection/tests/
H A Dinternal_static_property.phpt5 if (!class_exists('_ZendTestClass')) die('skip zend_test extension required');
/PHP-7.4/ext/spl/tests/
H A Darray_013.phpt6 if (!class_exists('NoRewindIterator', false))
H A Dbug52339.phpt2 Bug #52339: SPL autoloader breaks class_exists()
5 var_dump(class_exists('asdfasdf'));
7 var_dump(class_exists('asdfasdf'));
H A Dspl_autoload_001.phpt13 if (!class_exists("TestClass")) {
22 if (!class_exists("TestClass")) {
29 if (!class_exists("TestClass")) {
48 var_dump(class_exists("TestClass", true));
58 var_dump(class_exists("TestClass", true));
63 var_dump(class_exists("TestClass", true));
H A Dspl_autoload_003.phpt30 var_dump(class_exists("TestClass", true));
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_012.phpt22 class_exists('ThisClassDoesNotExist');
37 class_exists('ThisClassDoesNotExist');
51 #2 %sspl_autoload_012.php(%d): class_exists('ThisClassDoesNo...')
H A Dspl_autoload_call_basic.phpt14 var_dump(class_exists('TestClass', false));
/PHP-7.4/ext/standard/tests/class_object/
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_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)) {
/PHP-7.4/ext/standard/tests/serialize/
H A Dbug26762.phpt5 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');
16 var_dump(class_exists('autoload_implements', false));
25 var_dump(class_exists('autoload_implements', false));
/PHP-7.4/tests/classes/
H A Dautoload_001.phpt2 ZE2 Autoload and class_exists
5 if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
15 var_dump(class_exists('autoload_root'));
H A Dautoload_002.phpt5 if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
H A Dautoload_003.phpt5 if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
15 var_dump(class_exists('autoload_derived'));
H A Dautoload_004.phpt5 if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
11 var_dump(class_exists($class_name));
16 var_dump(class_exists('autoload_derived'));

Completed in 33 milliseconds

1234