php-src/ext/spl
2004-01-10 23:49:26 +00:00
..
examples Show classname 2003-12-13 14:40:06 +00:00
tests Cleanup 2003-11-26 23:28:35 +00:00
config.m4 Major update: 2003-11-09 14:05:36 +00:00
config.w32 don't enable by default; causes simplexml build to fail 2003-12-19 13:02:57 +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 Fix dependancy 2004-01-08 18:23:03 +00:00
php_spl.c Update copyright 2004-01-08 18:17:39 +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 Update copyright 2004-01-08 18:17:39 +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 Update copyright 2004-01-08 18:17:39 +00:00
spl_iterators.h Update copyright 2004-01-08 18:17:39 +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