php-src/ext/spl
2004-01-19 23:43:03 +00:00
..
examples Show classname 2003-12-13 14:40:06 +00:00
tests Fix problems with manual iteration 2004-01-18 16:25:26 +00:00
config.m4 fix typo 2004-01-19 11:07:19 +00:00
config.w32 Add spl_sxe.c. 2004-01-19 08:31:16 +00:00
CREDITS Add spl extension 2003-05-01 23:28:28 +00:00
EXPERIMENTAL Add spl extension 2003-05-01 23:28:28 +00:00
package.xml Add spl_sxe to prackage 2004-01-19 08:32:58 +00:00
php_spl.c Add class SimpleXMLIterator 2004-01-18 15:33:38 +00:00
php_spl.h Update copyright 2004-01-08 18:17:39 +00:00
README typos 2004-01-10 23:49:26 +00:00
spl_array.c Update copyright 2004-01-08 18:17:39 +00:00
spl_array.h Update copyright 2004-01-08 18:17:39 +00:00
spl_directory.c Update copyright 2004-01-08 18:17:39 +00:00
spl_directory.h Add class SimpleXMLIterator 2004-01-18 15:33:38 +00:00
spl_engine.c Update copyright 2004-01-08 18:17:39 +00:00
spl_engine.h Update copyright 2004-01-08 18:17:39 +00:00
spl_functions.c Update copyright 2004-01-08 18:17:39 +00:00
spl_functions.h Update copyright 2004-01-08 18:17:39 +00:00
spl_iterators.c Not needed 2004-01-18 19:17:50 +00:00
spl_iterators.h Update copyright 2004-01-08 18:17:39 +00:00
spl_sxe.c Fix compilation of spl as shared object 2004-01-19 23:43:03 +00:00
spl_sxe.h Add class SimpleXMLIterator 2004-01-18 15:33:38 +00:00
spl.php Update 2003-12-04 20:01:46 +00:00
TODO Update 2003-12-04 17:45:36 +00:00

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