spl_classes

(PHP 5)

spl_classes --  Retourne les classes SPL disponibles

Description

array spl_classes ( void )

spl_classes() retourne un tableau avec la liste des classes SPL actuellement disponibles.

Exemple 1. Exemple avec spl_classes()

<?php

print_r
(spl_classes());

?>

L'exemple ci-dessus va afficher quelque chose de similaire à :

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
)

Hosting by: Hurra Communications GmbH
Generated: 2007-01-26 18:02:16