SPL Функции
PHP Manual

spl_classes

(PHP 5)

spl_classesReturn available SPL classes

Описание

array spl_classes ( void )

This function returns an array with the current available SPL classes.

Список параметров

У этой функции нет параметров.

Возвращаемые значения

Returns an array containing the currently available SPL classes.

Примеры

Пример #1 spl_classes() example

<?php

print_r
(spl_classes());

?>

Результатом выполнения данного примера будет что-то подобное:

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
)


SPL Функции
PHP Manual