cvs: php-src(PHP_5_0) /ext/spl README

From: Date: Mon, 19 Sep 2005 18:37:49 +0000
Subject: cvs: php-src(PHP_5_0) /ext/spl README
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-34016@lists.php.net to get a copy of this message
helly Mon Sep 19 14:37:49 2005 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/spl README Log: - MFH Readme to point to actual docu http://cvs.php.net/diff.php/php-src/ext/spl/README?r1=1.7&r2=1.7.2.1&ty=u Index: php-src/ext/spl/README diff -u php-src/ext/spl/README:1.7 php-src/ext/spl/README:1.7.2.1 --- php-src/ext/spl/README:1.7 Tue Mar 9 12:47:28 2004 +++ php-src/ext/spl/README Mon Sep 19 14:37:46 2005 @@ -4,47 +4,4 @@ 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 they 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. - -Below is a list of interfaces/classes already availabel natively through -the SPL extension grouped by category. For more information refer to the -docuement spl.php. - -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 -interface SeekableIterator implements Iterator -class LimitIterator implements Iterator -class CachingIterator implements Iterator -class CachingRecursiveIterator extends CachingIterator implements RecursiveIterator - -2) Directories - -SPL offers two advanced directory classes: - -class DirectoryIterator implements Iterator -class RecursiveDirectoryIterator extends DirectoryIterator implements RecursiveIterator - -3) XML - -SPL offers an advanced XML handling class: - -class SimpleXMLIterator extends simplexml_element extends recursiveiterator - -4) Array Overloading - -SPL offers advanced Array overloading: - -class ArrayObject implements IteratorAggregate -class ArrayIterator implements Iterator - -As the above suggest an ArrayObject creates an ArrayIterator when it comes to -iteration (e.g. ArrayObject instance used inside foreach). +For more information look at: http://php.net/~helly/php/ext/spl

« previous php.cvs (#34016) next »