Searched refs:class_exists (Results 1 – 25 of 77) sorted by relevance
1234
/PHP-8.1/ext/standard/tests/class_object/ |
H A D | class_exists_basic_001.phpt | 2 Test class_exists() function : basic functionality 5 echo "*** Testing class_exists() : basic functionality ***\n"; 12 var_dump( class_exists('C', true) ); 14 var_dump( class_exists('stdclass', true) ); 17 var_dump( class_exists('D', false) ); 19 var_dump( class_exists('stdclass', false) ); 22 var_dump( class_exists('E') ); 24 var_dump( class_exists('stdclass') ); 29 *** Testing class_exists() : basic functionality *** 43 Calling class_exists() on non-existent class with autoload unspecified: [all …]
|
H A D | class_exists_variation_003.phpt | 2 Test class_exists() function : usage variations - case sensitivity 6 var_dump(class_exists('casesensitivitytest'));
|
/PHP-8.1/Zend/tests/ |
H A D | 012.phpt | 2 class_exists() tests 9 var_dump(class_exists("qwerty")); 10 var_dump(class_exists("")); 11 var_dump(class_exists("test", false)); 12 var_dump(class_exists("foo", false)); 13 var_dump(class_exists("foo")); 14 var_dump(class_exists("stdClass", false)); 15 var_dump(class_exists("stdClass"));
|
H A D | class_exists_001.phpt | 2 Testing class_exists() inside namespace 15 var_dump(class_exists('\bar')); 16 var_dump(class_exists('bar')); 17 var_dump(class_exists('foo\bar')); 18 var_dump(class_exists('foo\foo')); 19 var_dump(class_exists('foo'));
|
H A D | class_exists_002.phpt | 10 var_dump(class_exists('')); 11 var_dump(class_exists('FOO')); 12 var_dump(class_exists('bar')); 13 var_dump(class_exists(1));
|
H A D | class_exists_003.phpt | 14 var_dump(class_exists('a')); 15 var_dump(class_exists('b')); 16 var_dump(class_exists('c')); 17 var_dump(class_exists('d'));
|
H A D | bug26697.phpt | 2 Bug #26697 (calling class_exists on a nonexistent class in autoloader results in segfault) 8 var_dump(class_exists('NotExistingClass')); 12 var_dump(class_exists('NotExistingClass'));
|
H A D | bug46813.phpt | 2 Bug #46813: class_exists doesn`t work with fully qualified namespace 16 var_dump(class_exists('\test\inner', true)); 18 var_dump(class_exists('\test\inner', true));
|
H A D | bug79022.phpt | 2 Bug #79022 (class_exists returns True for classes that are not ready to be used) 6 if (class_exists('Foo', 0)) {
|
/PHP-8.1/ext/spl/tests/ |
H A D | bug52339.phpt | 2 Bug #52339: SPL autoloader breaks class_exists() 5 var_dump(class_exists('asdfasdf')); 7 var_dump(class_exists('asdfasdf'));
|
H A D | spl_autoload_001.phpt | 13 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 D | spl_autoload_012.phpt | 22 class_exists('ThisClassDoesNotExist'); 37 class_exists('ThisClassDoesNotExist'); 50 #1 %sspl_autoload_012.php(%d): class_exists('ThisClassDoesNo...')
|
/PHP-8.1/tests/classes/ |
H A D | autoload_005.phpt | 5 if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already'); 11 var_dump(class_exists($class_name, false)); 16 var_dump(class_exists('autoload_derived', false)); 17 var_dump(class_exists('autoload_derived', false));
|
H A D | autoload_001.phpt | 2 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 D | autoload_004.phpt | 5 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'));
|
H A D | autoload_006.phpt | 5 if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already'); 16 var_dump(class_exists('autoload_implements', false)); 24 var_dump(class_exists('autoload_implements', false));
|
H A D | autoload_019.phpt | 7 class_exists("undefinedCLASS"); 10 class_exists("unDefinedClass");
|
H A D | autoload_003.phpt | 5 if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already'); 15 var_dump(class_exists('autoload_derived'));
|
H A D | bug75765.phpt | 9 var_dump(class_exists('A')); 10 var_dump(class_exists('B'));
|
/PHP-8.1/ext/opcache/tests/ |
H A D | preload_loadable_classes_1.phpt | 16 var_dump(class_exists('Test')); 17 var_dump(class_exists('Bar')); 18 var_dump(class_exists('Foo'));
|
H A D | preload_class_alias.phpt | 16 var_dump(class_exists('A')); 17 var_dump(class_exists('B'));
|
H A D | preload_class_alias_2.phpt | 16 var_dump(class_exists('B')); 17 var_dump(class_exists('C'));
|
H A D | preload_bug79114.phpt | 16 var_dump(class_exists(Foo::class)); 17 var_dump(class_exists(Bar::class));
|
/PHP-8.1/ext/standard/tests/serialize/ |
H A D | bug30234.phpt | 5 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-8.1/ext/phar/phar/ |
H A D | phar.php | 15 if (!class_exists('PHP_Archive', 0)) { 22 if (!class_exists('Phar',0)) {
|
Completed in 17 milliseconds
1234