spl
PHP Manual

spl_classes

(PHP 5)

spl_classes — Devuelve las clases SPL disponibles

Descripción

array spl_classes ( void )

Esta función devuelve una matriz con las classes SPL disponibles en ese momento.

Example#1 Ejemplo de spl_classes()

<?php

print_r
(spl_classes());

?>

El resultado del ejemplo seria algo similar a:

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
)


spl
PHP Manual