(PHP 5, PHP 7)
spl_classes — Retorna as classes da SPL disponíveis
Esta função retorna um array com as classes da SPL disponíveis atualmente.
Exemplo #1 Exemplo despl_classes()
<?php
print_r(spl_classes());
?>
O exemplo acima irá imprimir algo similar à:
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 )