spl_classes
(PHP 5)
spl_classes --
利用可能な SPL クラスを返す
説明
array
spl_classes ( void )
この関数は現在利用可能な SPL クラスを配列で返します。
例 1. spl_classes() の例
<?php
print_r(spl_classes());
?>
|
上の例の出力は、たとえば
以下のようになります。 Array
(
[ArrayObject] => ArrayObject
[ArrayIterator] => ArrayIterator
[CachingIterator] => CachingIterator
[CachingRecursiveIterator] => CachingRecursiveIterator
[DirectoryIterator] => DirectoryIterator
[FilterIterator] => FilterIterator
[LimitIterator] => LimitIterator
[ParentIterator] => ParentIterator
[RecursiveDirectoryIterator] => RecursiveDirectoryIterator
[RecursiveIterator] => RecursiveIterator
[RecursiveIteratorIterator] => RecursiveIteratorIterator
[SeekableIterator] => SeekableIterator
[SimpleXMLIterator] => SimpleXMLIterator
) |
|