From: Marcus Boerger Date: Thu, 17 Feb 2005 00:24:57 +0000 (+0000) Subject: - Add version information X-Git-Tag: RELEASE_0_2_4~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80af3ac83d32555972f88e3fb529c5bee722eb55;p=php - Add version information --- diff --git a/ext/spl/internal/appenditerator.inc b/ext/spl/internal/appenditerator.inc index 1d7b58fa86..74f254d11e 100755 --- a/ext/spl/internal/appenditerator.inc +++ b/ext/spl/internal/appenditerator.inc @@ -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 { diff --git a/ext/spl/internal/cachingiterator.inc b/ext/spl/internal/cachingiterator.inc index faa78d160a..dfefd9987f 100755 --- a/ext/spl/internal/cachingiterator.inc +++ b/ext/spl/internal/cachingiterator.inc @@ -16,6 +16,7 @@ define('CIT_CATCH_GET_CHILD', 2); * @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. diff --git a/ext/spl/internal/cachingrecursiveiterator.inc b/ext/spl/internal/cachingrecursiveiterator.inc index 283de0ddb6..72204d9399 100755 --- a/ext/spl/internal/cachingrecursiveiterator.inc +++ b/ext/spl/internal/cachingrecursiveiterator.inc @@ -13,6 +13,7 @@ * @brief Cached recursive iteration over another Iterator * @author Marcus Boerger * @version 1.1 + * @since PHP 5.0 * * @see CachingIterator */ diff --git a/ext/spl/internal/emptyiterator.inc b/ext/spl/internal/emptyiterator.inc index a78216d58c..52e844dfe5 100755 --- a/ext/spl/internal/emptyiterator.inc +++ b/ext/spl/internal/emptyiterator.inc @@ -13,7 +13,7 @@ * @brief An empty Iterator * @author Marcus Boerger * @version 1.0 - * + * @since PHP 5.1 */ class EmptyIterator implements Iterator { diff --git a/ext/spl/internal/filteriterator.inc b/ext/spl/internal/filteriterator.inc index b8aa54bd98..cc9c999a40 100755 --- a/ext/spl/internal/filteriterator.inc +++ b/ext/spl/internal/filteriterator.inc @@ -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 diff --git a/ext/spl/internal/infiniteiterator.inc b/ext/spl/internal/infiniteiterator.inc index e7df18fc1f..3d97b903b1 100755 --- a/ext/spl/internal/infiniteiterator.inc +++ b/ext/spl/internal/infiniteiterator.inc @@ -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. diff --git a/ext/spl/internal/iteratoriterator.inc b/ext/spl/internal/iteratoriterator.inc index f36b169832..311008b6d5 100755 --- a/ext/spl/internal/iteratoriterator.inc +++ b/ext/spl/internal/iteratoriterator.inc @@ -11,6 +11,7 @@ /** @ingroup SPL * @brief Basic Iterator wrapper + * @since PHP 5.1 */ class IteratorIterator implements OuterIterator { diff --git a/ext/spl/internal/limititerator.inc b/ext/spl/internal/limititerator.inc index c3f0486447..930ba535fa 100755 --- a/ext/spl/internal/limititerator.inc +++ b/ext/spl/internal/limititerator.inc @@ -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. diff --git a/ext/spl/internal/norewinditerator.inc b/ext/spl/internal/norewinditerator.inc index 5aa9e27f04..37cfcc3ead 100755 --- a/ext/spl/internal/norewinditerator.inc +++ b/ext/spl/internal/norewinditerator.inc @@ -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 { diff --git a/ext/spl/internal/outeriterator.inc b/ext/spl/internal/outeriterator.inc index f8b41e7ac2..dc7b11e05a 100755 --- a/ext/spl/internal/outeriterator.inc +++ b/ext/spl/internal/outeriterator.inc @@ -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 { diff --git a/ext/spl/internal/parentiterator.inc b/ext/spl/internal/parentiterator.inc index 3a97125d10..7fb0f11dd3 100755 --- a/ext/spl/internal/parentiterator.inc +++ b/ext/spl/internal/parentiterator.inc @@ -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 diff --git a/ext/spl/internal/recursiveiterator.inc b/ext/spl/internal/recursiveiterator.inc index 53656ec255..640be25a13 100755 --- a/ext/spl/internal/recursiveiterator.inc +++ b/ext/spl/internal/recursiveiterator.inc @@ -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 { diff --git a/ext/spl/internal/recursiveiteratoriterator.inc b/ext/spl/internal/recursiveiteratoriterator.inc index 395c67079e..bba713ba09 100755 --- a/ext/spl/internal/recursiveiteratoriterator.inc +++ b/ext/spl/internal/recursiveiteratoriterator.inc @@ -17,6 +17,7 @@ define('RIT_CHILD_FIRST', 2); * @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 diff --git a/ext/spl/internal/seekableiterator.inc b/ext/spl/internal/seekableiterator.inc index 78a3efdc7a..586be27a7b 100755 --- a/ext/spl/internal/seekableiterator.inc +++ b/ext/spl/internal/seekableiterator.inc @@ -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 diff --git a/ext/spl/spl.php b/ext/spl/spl.php index c65a080eda..dcf10f0c21 100755 --- a/ext/spl/spl.php +++ b/ext/spl/spl.php @@ -129,6 +129,7 @@ /** @ingroup ZendEngine * @brief Basic Exception class. + * @since PHP 5.0 */ class Exception { @@ -221,6 +222,7 @@ class Exception /** @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 @@ class LogicException extends Exception /** @ingroup SPL * @brief Exception thrown when a function call was illegal. + * @since PHP 5.1 */ class BadFunctionCallException extends LogicException { @@ -237,6 +240,7 @@ class BadFunctionCallException extends LogicException /** @ingroup SPL * @brief Exception thrown when a method call was illegal. + * @since PHP 5.1 */ class BadMethodCallException extends BadFunctionCallException { @@ -244,6 +248,7 @@ class BadMethodCallException extends BadFunctionCallException /** @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 @@ class DomainException extends LogicException /** @ingroup SPL * @brief Exception that denotes invalid arguments were passed. + * @since PHP 5.1 */ class InvalidArgumentException extends LogicException { @@ -261,6 +267,7 @@ class InvalidArgumentException extends LogicException /** @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 @@ class LengthException extends LogicException /** @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 @@ class OutOfRangeException extends LogicException /** @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 @@ class RuntimeException extends Exception /** @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 @@ class OutOfBoundsException extends RuntimeException /** @ingroup SPL * @brief Exception thrown to indicate arithmetic/buffer overflow. + * @since PHP 5.1 */ class OverflowException extends RuntimeException { @@ -307,6 +318,7 @@ class OverflowException extends RuntimeException /** @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 @@ class RangeException extends RuntimeException /** @ingroup SPL * @brief Exception Exception thrown to indicate arithmetic/buffer underflow. + * @since PHP 5.1 */ class UnderflowException extends RuntimeException { @@ -323,6 +336,7 @@ class UnderflowException extends RuntimeException /** @ingroup ZendEngine * @brief Interface to override array access of objects. + * @since PHP 5.0 */ interface ArrayAccess { @@ -348,6 +362,7 @@ interface ArrayAccess /** @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 @@ interface Traversable /** @ingroup ZendEngine * @brief Interface to create an external Iterator. + * @since PHP 5.0 * * @note This is an engine internal interface. */ @@ -378,6 +394,7 @@ interface IteratorAggregate extends Traversable /** @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 @@ interface Iterator extends Traversable /** @ingroup SPL * @brief This Interface allows to hook into the global count() function. + * @since PHP 5.1 */ interface Countable { @@ -419,6 +437,7 @@ interface Countable /** @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 @@ class ArrayObject implements IteratorAggregate, ArrayAccess, Countable /** @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 @@ class ArrayIterator implements SeekableIterator, ArrayAccess, Countable /** @ingroup SPL * @brief Directory iterator + * @since PHP 5.0 */ class DirectoryIterator implements Iterator { @@ -631,6 +652,7 @@ class DirectoryIterator implements Iterator /** @ingroup SPL * @brief recursive directory iterator + * @since PHP 5.0 */ class RecursiveDirectoryIterator extends DirectoryIterator implements RecursiveIterator { @@ -645,6 +667,7 @@ class RecursiveDirectoryIterator extends DirectoryIterator implements RecursiveI /** @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 @@ class SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator /** @ingroup SPL * @brief observer of the observer pattern + * @since PHP 5.1 * * For a detailed explanation see Observer pattern in * @@ -683,6 +707,7 @@ interface Observer /** @ingroup SPL * @brief ubject to the observer pattern + * @since PHP 5.1 * @see Observer */ interface Subject