SPL_CLASSES(3) 1 SPL_CLASSES(3)
spl_classes - Return available SPL classes
SYNOPSIS
array spl_classes (void )
DESCRIPTION
This function returns an array with the current available SPL classes.
PARAMETERS
This function has no parameters.
RETURN VALUES
Returns an array containing the currently available SPL classes.
EXAMPLES
Example #1
spl_classes(3) example
<?php
print_r(spl_classes());
?>
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
)
PHP Documentation Group SPL_CLASSES(3)