PHP: spl_classes - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

spl_object_hash spl_autoload

Last updated: Sat, 27 Jan 2007

view this page in

# 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
    )

add a note User Contributed Notes
spl_classes
There are no user contributed notes for this page.
spl_object_hash spl_autoload

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST