update : 2015.11.03
php.shukuma.com

검색:
 
 
Return available SPL classes

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.

예제

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