helly Wed Feb 16 19:24:57 2005 EDT
Modified files:
/php-src/ext/spl spl.php
/php-src/ext/spl/internal appenditerator.inc cachingiterator.inc
cachingrecursiveiterator.inc
emptyiterator.inc filteriterator.inc
infiniteiterator.inc iteratoriterator.inc
limititerator.inc norewinditerator.inc
outeriterator.inc parentiterator.inc
recursiveiterator.inc
recursiveiteratoriterator.inc
seekableiterator.inc
Log:
- Add version information
http://cvs.php.net/diff.php/php-src/ext/spl/spl.php?r1=1.42&r2=1.43&ty=u
Index: php-src/ext/spl/spl.php
diff -u php-src/ext/spl/spl.php:1.42 php-src/ext/spl/spl.php:1.43
--- php-src/ext/spl/spl.php:1.42 Wed Feb 16 19:16:00 2005
+++ php-src/ext/spl/spl.php Wed Feb 16 19:24:57 2005
@@ -129,6 +129,7 @@
/** @ingroup ZendEngine
* @brief Basic Exception class.
+ * @since PHP 5.0
*/
class Exception
{
@@ -221,6 +222,7 @@
/** @ingroup SPL
* @brief Exception that represents error in the program logic.
+ * @since PHP 5.1
*
* This kind of exceptions should directly leed to a fix in your code.
*/
@@ -230,6 +232,7 @@
/** @ingroup SPL
* @brief Exception thrown when a function call was illegal.
+ * @since PHP 5.1
*/
class BadFunctionCallException extends LogicException
{
@@ -237,6 +240,7 @@
/** @ingroup SPL
* @brief Exception thrown when a method call was illegal.
+ * @since PHP 5.1
*/
class BadMethodCallException extends BadFunctionCallException
{
@@ -244,6 +248,7 @@
/** @ingroup SPL
* @brief Exception that denotes a value not in the valid domain was used.
+ * @since PHP 5.1
*
* This kind of exception should be used to inform about domain erors in
* mathematical sense.
@@ -254,6 +259,7 @@
/** @ingroup SPL
* @brief Exception that denotes invalid arguments were passed.
+ * @since PHP 5.1
*/
class InvalidArgumentException extends LogicException
{
@@ -261,6 +267,7 @@
/** @ingroup SPL
* @brief Exception thrown when a parameter exceeds the allowed length.
+ * @since PHP 5.1
*
* This can be used for strings length, array size, file size, number of
* elements read from an Iterator and so on.
@@ -271,6 +278,7 @@
/** @ingroup SPL
* @brief Exception thrown when an illegal index was requested.
+ * @since PHP 5.1
*
* This represents errors that should be detected at compile time.
*
@@ -282,6 +290,7 @@
/** @ingroup SPL
* @brief Exception thrown for errors that are only detectable at runtime.
+ * @since PHP 5.1
*/
class RuntimeException extends Exception
{
@@ -289,6 +298,7 @@
/** @ingroup SPL
* @brief Exception thrown when an illegal index was requested.
+ * @since PHP 5.1
*
* This represents errors that cannot be detected at compile time.
*
@@ -300,6 +310,7 @@
/** @ingroup SPL
* @brief Exception thrown to indicate arithmetic/buffer overflow.
+ * @since PHP 5.1
*/
class OverflowException extends RuntimeException
{
@@ -307,6 +318,7 @@
/** @ingroup SPL
* @brief Exception thrown to indicate range errors during program execution.
+ * @since PHP 5.1
*
* Normally this means there was an arithmetic error other than under/overflow.
*/
@@ -316,6 +328,7 @@
/** @ingroup SPL
* @brief Exception Exception thrown to indicate arithmetic/buffer underflow.
+ * @since PHP 5.1
*/
class UnderflowException extends RuntimeException
{
@@ -323,6 +336,7 @@
/** @ingroup ZendEngine
* @brief Interface to override array access of objects.
+ * @since PHP 5.0
*/
interface ArrayAccess
{
@@ -348,6 +362,7 @@
/** @ingroup ZendEngine
* @brief Interface to detect a class is traversable using foreach.
+ * @since PHP 5.0
*
* Abstract base interface that cannot be implemented alone. Instead it
* must be implemented by either IteratorAggregate or Iterator.
@@ -366,6 +381,7 @@
/** @ingroup ZendEngine
* @brief Interface to create an external Iterator.
+ * @since PHP 5.0
*
* @note This is an engine internal interface.
*/
@@ -378,6 +394,7 @@
/** @ingroup ZendEngine
* @brief Basic iterator
+ * @since PHP 5.0
*
* Interface for external iterators or objects that can be iterated
* themselves internally.
@@ -409,6 +426,7 @@
/** @ingroup SPL
* @brief This Interface allows to hook into the global count() function.
+ * @since PHP 5.1
*/
interface Countable
{
@@ -419,6 +437,7 @@
/** @ingroup SPL
* @brief An Array wrapper
+ * @since PHP 5.0
*
* This array wrapper allows to recursively iterate over Arrays and public
* Object properties.
@@ -478,6 +497,7 @@
/** @ingroup SPL
* @brief An Array iterator
+ * @since PHP 5.0
*
* This iterator allows to unset and modify values and keys while iterating
* over Arrays and Objects.
@@ -539,6 +559,7 @@
/** @ingroup SPL
* @brief Directory iterator
+ * @since PHP 5.0
*/
class DirectoryIterator implements Iterator
{
@@ -631,6 +652,7 @@
/** @ingroup SPL
* @brief recursive directory iterator
+ * @since PHP 5.0
*/
class RecursiveDirectoryIterator extends DirectoryIterator implements
RecursiveIterator
{
@@ -645,6 +667,7 @@
/** @ingroup SPL
* @brief recursive SimpleXML_Element iterator
+ * @since PHP 5.0
*
* The SimpleXMLIterator implements the RecursiveIterator interface. This
* allows iteration over all elements using foreach or an appropriate while
@@ -666,6 +689,7 @@
/** @ingroup SPL
* @brief observer of the observer pattern
+ * @since PHP 5.1
*
* For a detailed explanation see Observer pattern in
* <em>
@@ -683,6 +707,7 @@
/** @ingroup SPL
* @brief ubject to the observer pattern
+ * @since PHP 5.1
* @see Observer
*/
interface Subject
http://cvs.php.net/diff.php/php-src/ext/spl/internal/appenditerator.inc?r1=1.2&r2=1.3&ty=u
Index: php-src/ext/spl/internal/appenditerator.inc
diff -u php-src/ext/spl/internal/appenditerator.inc:1.2
php-src/ext/spl/internal/appenditerator.inc:1.3
--- php-src/ext/spl/internal/appenditerator.inc:1.2 Tue Feb 8 14:10:06 2005
+++ php-src/ext/spl/internal/appenditerator.inc Wed Feb 16 19:24:57 2005
@@ -13,6 +13,7 @@
* @brief Iterator that iterates over several iterators one after the other
* @author Marcus Boerger
* @version 1.0
+ * @since PHP 5.1
*/
class AppendIterator implements OuterIterator
{
http://cvs.php.net/diff.php/php-src/ext/spl/internal/cachingiterator.inc?r1=1.6&r2=1.7&ty=u
Index: php-src/ext/spl/internal/cachingiterator.inc
diff -u php-src/ext/spl/internal/cachingiterator.inc:1.6
php-src/ext/spl/internal/cachingiterator.inc:1.7
--- php-src/ext/spl/internal/cachingiterator.inc:1.6 Tue Feb 8 14:10:06 2005
+++ php-src/ext/spl/internal/cachingiterator.inc Wed Feb 16 19:24:57 2005
@@ -16,6 +16,7 @@
* @brief Cached iteration over another Iterator
* @author Marcus Boerger
* @version 1.1
+ * @since PHP 5.0
*
* This iterator wrapper does a one ahead iteration. This way it knows whether
* the inner iterator has one more element.
http://cvs.php.net/diff.php/php-src/ext/spl/internal/cachingrecursiveiterator.inc?r1=1.6&r2=1.7&ty=u
Index: php-src/ext/spl/internal/cachingrecursiveiterator.inc
diff -u php-src/ext/spl/internal/cachingrecursiveiterator.inc:1.6
php-src/ext/spl/internal/cachingrecursiveiterator.inc:1.7
--- php-src/ext/spl/internal/cachingrecursiveiterator.inc:1.6 Tue Feb 8
14:10:06 2005
+++ php-src/ext/spl/internal/cachingrecursiveiterator.inc Wed Feb 16
19:24:57 2005
@@ -13,6 +13,7 @@
* @brief Cached recursive iteration over another Iterator
* @author Marcus Boerger
* @version 1.1
+ * @since PHP 5.0
*
* @see CachingIterator
*/
http://cvs.php.net/diff.php/php-src/ext/spl/internal/emptyiterator.inc?r1=1.2&r2=1.3&ty=u
Index: php-src/ext/spl/internal/emptyiterator.inc
diff -u php-src/ext/spl/internal/emptyiterator.inc:1.2
php-src/ext/spl/internal/emptyiterator.inc:1.3
--- php-src/ext/spl/internal/emptyiterator.inc:1.2 Tue Feb 8 14:10:06 2005
+++ php-src/ext/spl/internal/emptyiterator.inc Wed Feb 16 19:24:57 2005
@@ -13,7 +13,7 @@
* @brief An empty Iterator
* @author Marcus Boerger
* @version 1.0
- *
+ * @since PHP 5.1
*/
class EmptyIterator implements Iterator
{
http://cvs.php.net/diff.php/php-src/ext/spl/internal/filteriterator.inc?r1=1.7&r2=1.8&ty=u
Index: php-src/ext/spl/internal/filteriterator.inc
diff -u php-src/ext/spl/internal/filteriterator.inc:1.7
php-src/ext/spl/internal/filteriterator.inc:1.8
--- php-src/ext/spl/internal/filteriterator.inc:1.7 Tue Feb 8 14:10:06 2005
+++ php-src/ext/spl/internal/filteriterator.inc Wed Feb 16 19:24:57 2005
@@ -13,6 +13,7 @@
* @brief Regular expression filter for string iterators
* @author Marcus Boerger
* @version 1.1
+ * @since PHP 5.0
*
* Instances of this class act as a filter around iterators. In other words
* you can put an iterator into the constructor and the instance will only
http://cvs.php.net/diff.php/php-src/ext/spl/internal/infiniteiterator.inc?r1=1.3&r2=1.4&ty=u
Index: php-src/ext/spl/internal/infiniteiterator.inc
diff -u php-src/ext/spl/internal/infiniteiterator.inc:1.3
php-src/ext/spl/internal/infiniteiterator.inc:1.4
--- php-src/ext/spl/internal/infiniteiterator.inc:1.3 Tue Feb 8 14:10:06 2005
+++ php-src/ext/spl/internal/infiniteiterator.inc Wed Feb 16 19:24:57 2005
@@ -13,6 +13,7 @@
* @brief An infinite Iterator
* @author Marcus Boerger
* @version 1.1
+ * @since PHP 5.1
*
* This Iterator takes another Iterator and infinitvely iterates it by
* rewinding it when its end is reached.
http://cvs.php.net/diff.php/php-src/ext/spl/internal/iteratoriterator.inc?r1=1.3&r2=1.4&ty=u
Index: php-src/ext/spl/internal/iteratoriterator.inc
diff -u php-src/ext/spl/internal/iteratoriterator.inc:1.3
php-src/ext/spl/internal/iteratoriterator.inc:1.4
--- php-src/ext/spl/internal/iteratoriterator.inc:1.3 Tue Feb 8 14:10:06 2005
+++ php-src/ext/spl/internal/iteratoriterator.inc Wed Feb 16 19:24:57 2005
@@ -11,6 +11,7 @@
/** @ingroup SPL
* @brief Basic Iterator wrapper
+ * @since PHP 5.1
*/
class IteratorIterator implements OuterIterator
{
http://cvs.php.net/diff.php/php-src/ext/spl/internal/limititerator.inc?r1=1.7&r2=1.8&ty=u
Index: php-src/ext/spl/internal/limititerator.inc
diff -u php-src/ext/spl/internal/limititerator.inc:1.7
php-src/ext/spl/internal/limititerator.inc:1.8
--- php-src/ext/spl/internal/limititerator.inc:1.7 Tue Feb 8 14:10:06 2005
+++ php-src/ext/spl/internal/limititerator.inc Wed Feb 16 19:24:57 2005
@@ -13,6 +13,7 @@
* @brief Limited Iteration over another Iterator
* @author Marcus Boerger
* @version 1.1
+ * @since PHP 5.0
*
* A class that starts iteration at a certain offset and only iterates over
* a specified amount of elements.
http://cvs.php.net/diff.php/php-src/ext/spl/internal/norewinditerator.inc?r1=1.3&r2=1.4&ty=u
Index: php-src/ext/spl/internal/norewinditerator.inc
diff -u php-src/ext/spl/internal/norewinditerator.inc:1.3
php-src/ext/spl/internal/norewinditerator.inc:1.4
--- php-src/ext/spl/internal/norewinditerator.inc:1.3 Tue Feb 8 14:10:06 2005
+++ php-src/ext/spl/internal/norewinditerator.inc Wed Feb 16 19:24:57 2005
@@ -13,7 +13,7 @@
* @brief An Iterator wrapper that doesn't call rewind
* @author Marcus Boerger
* @version 1.1
- *
+ * @since PHP 5.1
*/
class NoRewindIterator extends IteratorIterator
{
http://cvs.php.net/diff.php/php-src/ext/spl/internal/outeriterator.inc?r1=1.4&r2=1.5&ty=u
Index: php-src/ext/spl/internal/outeriterator.inc
diff -u php-src/ext/spl/internal/outeriterator.inc:1.4
php-src/ext/spl/internal/outeriterator.inc:1.5
--- php-src/ext/spl/internal/outeriterator.inc:1.4 Tue Feb 8 14:10:06 2005
+++ php-src/ext/spl/internal/outeriterator.inc Wed Feb 16 19:24:57 2005
@@ -13,6 +13,7 @@
* @brief Interface to access the current inner iteraor of iterator wrappers
* @author Marcus Boerger
* @version 1.0
+ * @since PHP 5.1
*/
interface OuterIterator extends Iterator
{
http://cvs.php.net/diff.php/php-src/ext/spl/internal/parentiterator.inc?r1=1.4&r2=1.5&ty=u
Index: php-src/ext/spl/internal/parentiterator.inc
diff -u php-src/ext/spl/internal/parentiterator.inc:1.4
php-src/ext/spl/internal/parentiterator.inc:1.5
--- php-src/ext/spl/internal/parentiterator.inc:1.4 Tue Feb 8 14:10:06 2005
+++ php-src/ext/spl/internal/parentiterator.inc Wed Feb 16 19:24:57 2005
@@ -13,6 +13,7 @@
* @brief Iterator to filter parents
* @author Marcus Boerger
* @version 1.1
+ * @since PHP 5.0
*
* This extended FilterIterator allows a recursive iteration using
* RecursiveIteratorIterator that only shows those elements which have
http://cvs.php.net/diff.php/php-src/ext/spl/internal/recursiveiterator.inc?r1=1.5&r2=1.6&ty=u
Index: php-src/ext/spl/internal/recursiveiterator.inc
diff -u php-src/ext/spl/internal/recursiveiterator.inc:1.5
php-src/ext/spl/internal/recursiveiterator.inc:1.6
--- php-src/ext/spl/internal/recursiveiterator.inc:1.5 Tue Feb 8 14:10:06 2005
+++ php-src/ext/spl/internal/recursiveiterator.inc Wed Feb 16 19:24:57 2005
@@ -13,6 +13,7 @@
* @brief Interface for recursive iteration with RecursiveIteratorIterator
* @author Marcus Boerger
* @version 1.0
+ * @since PHP 5.0
*/
interface RecursiveIterator implements Iterator
{
http://cvs.php.net/diff.php/php-src/ext/spl/internal/recursiveiteratoriterator.inc?r1=1.8&r2=1.9&ty=u
Index: php-src/ext/spl/internal/recursiveiteratoriterator.inc
diff -u php-src/ext/spl/internal/recursiveiteratoriterator.inc:1.8
php-src/ext/spl/internal/recursiveiteratoriterator.inc:1.9
--- php-src/ext/spl/internal/recursiveiteratoriterator.inc:1.8 Tue Feb 8
14:10:06 2005
+++ php-src/ext/spl/internal/recursiveiteratoriterator.inc Wed Feb 16
19:24:57 2005
@@ -17,6 +17,7 @@
* @brief Iterates through recursive iterators
* @author Marcus Boerger
* @version 1.1
+ * @since PHP 5.0
*
* The objects of this class are created by instances of RecursiveIterator.
* Elements of those iterators may be traversable themselves. If so these
http://cvs.php.net/diff.php/php-src/ext/spl/internal/seekableiterator.inc?r1=1.4&r2=1.5&ty=u
Index: php-src/ext/spl/internal/seekableiterator.inc
diff -u php-src/ext/spl/internal/seekableiterator.inc:1.4
php-src/ext/spl/internal/seekableiterator.inc:1.5
--- php-src/ext/spl/internal/seekableiterator.inc:1.4 Tue Feb 8 14:10:06 2005
+++ php-src/ext/spl/internal/seekableiterator.inc Wed Feb 16 19:24:57 2005
@@ -12,6 +12,7 @@
/** @brief seekable iterator
* @author Marcus Boerger
* @version 1.0
+ * @since PHP 5.0
*
* Turns a normal iterator ino a seekable iterator. When there is a way
* to seek on an iterator LimitIterator can use this to efficiently rewind
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php