|
spl_classesReturn available SPL classes Description
array spl_classes
( void
)
This function returns an array with the current available SPL classes. ParametersThis function has no parameters. Return ValuesReturns an array containing the currently available SPL classes. Examples
Example #1 spl_classes example
<?php The above example will output something similar to: Array ( [ArrayObject] => ArrayObject [ArrayIterator] => ArrayIterator [CachingIterator] => CachingIterator [RecursiveCachingIterator] => RecursiveCachingIterator [DirectoryIterator] => DirectoryIterator [FilterIterator] => FilterIterator [LimitIterator] => LimitIterator [ParentIterator] => ParentIterator [RecursiveDirectoryIterator] => RecursiveDirectoryIterator [RecursiveIterator] => RecursiveIterator [RecursiveIteratorIterator] => RecursiveIteratorIterator [SeekableIterator] => SeekableIterator [SimpleXMLIterator] => SimpleXMLIterator ) |