PHP Manual
后退 |  | 前进

# spl_classes

(PHP 5)

spl_classes -- Return available SPL classes

## Description

array spl_classes ( void )

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

例子 1. spl_classes() example
`<?php print_r(spl_classes()); ?>`
上例的输出类似于：
    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
    )

后退 | 起点 | 前进
iterator_to_array | 上一级 | SQLite Functions