Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: spl_classes - Manual
[go: Go Back, main page]

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

search for in the

spl_object_hash" width="11" height="7"/> <spl_autoload
Last updated: Mon, 05 Feb 2007

view this page in

spl_classes

(PHP 5 >= 5.1.0)

spl_classes — 利用可能な SPL クラスを返す

説明

array spl_classes ( void )

この関数は現在利用可能な SPL クラスを配列で返します。

例 2168. spl_classes() の例

<?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 add a note User Contributed Notes
spl_classes
There are no user contributed notes for this page.

spl_object_hash" width="11" height="7"/> <spl_autoload
Last updated: Mon, 05 Feb 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites