You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Zeev Suraski 30171a7590 zend_default_classes.h -> zend_exceptions.h 22 years ago
..
examples Update examples 22 years ago
tests - Fix second issue with #27042 22 years ago
CREDITS Add spl extension 23 years ago
README typos 22 years ago
TODO Update 22 years ago
config.m4 ws 22 years ago
config.w32 Prevent shared builds under windows too 22 years ago
package.xml Add spl_sxe to prackage 22 years ago
php_spl.c Show supported classes & interfaces in -i and phpinfo() 22 years ago
php_spl.h Update copyright 22 years ago
spl.php Update 22 years ago
spl_array.c API updates 22 years ago
spl_array.h Add cvs tags 22 years ago
spl_directory.c zend_default_classes.h -> zend_exceptions.h 22 years ago
spl_directory.h Add cvs tags 22 years ago
spl_engine.c Update copyright 22 years ago
spl_engine.h Add cvs tags 22 years ago
spl_functions.c Possible fix for bug #27165. 22 years ago
spl_functions.h Show supported classes & interfaces in -i and phpinfo() 22 years ago
spl_iterators.c zend_default_classes.h -> zend_exceptions.h 22 years ago
spl_iterators.h Add cvs tags 22 years ago
spl_sxe.c Cleanup 22 years ago
spl_sxe.h Add cvs tags 22 years ago

README

This is an extension that aims to implement some efficient data access 
interfaces and classes. You'll find the classes documented using php
code in the file spl.php or in the corresponding .inc file in the examples
subdirectory. Based on the internal implementations or the files in the
examples subdirectory there are also some .php files to experiment with.

The .inc files are not included automatically because the are sooner or
later integrated into the extension. That means that you either need to
put the code of examples/autoload into your autoprepend file or that you
have to point your ini setting auto_prepend_file to this file.

1) Iterators

SPL offers some advanced iterator algorithms:

interface RecursiveIterator implements Iterator
class RecursiveIteratorIterator implements Iterator
abstract class FilterIterator implements Iterator
class ParentIterator extends FilterIterator implements RecursiveIterator

2) Directories

SPL offers two advanced directory classes.

class DirectoryIterator implements Iterator
class RecursiveDirectoryIterator extends DirectoryIterator implements RecursiveIterator