php-src/ext/reflection/tests/ReflectionExtension_getClassNames_variation1.phpt
Nikita Popov 39131219e8
Migrate more SKIPIF -> EXTENSIONS (#7139)
This is a mix of more automated and manual migration. It should remove all applicable extension_loaded() checks outside of skipif.inc files.
2021-06-11 12:58:44 +02:00

15 lines
293 B
PHP

--TEST--
ReflectionExtension::getClassNames() method on an extension with no classes
--CREDITS--
Felix De Vliegher <felix.devliegher@gmail.com>
--EXTENSIONS--
ctype
--FILE--
<?php
$extension = new ReflectionExtension('ctype');
var_dump($extension->getClassNames());
?>
--EXPECT--
array(0) {
}