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.

Przykład 1. spl_classes() example

<?php

print_r
(spl_classes());

?>

Powyższy przykład wyświetli coś podobnego do:

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
)

Hosting by: Hurra Communications Sp. z o.o.
Generated: 2007-01-26 18:02:54