spl_classes

(PHP 5)

spl_classesبازگرداندن کلاس‌های موجود SPL

Description

array spl_classes ( void )

این تابع آرایه کلاس‌های موجود فعلی SPL را باز می‌گرداند.

Parameters

This function has no parameters.

Return Values

بازگرداندن array شامل کلاس‌های موجود SPL.

Examples

Example #1 مثال spl_classes()

<?php

print_r
(spl_classes());

?>

The above example will output something similar to:

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
)

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top