/** @ingroup ZendEngine
* @brief Basic Exception class.
+ * @since PHP 5.0
*/
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.
*/
/** @ingroup SPL
* @brief Exception thrown when a function call was illegal.
+ * @since PHP 5.1
*/
class BadFunctionCallException extends LogicException
{
/** @ingroup SPL
* @brief Exception thrown when a method call was illegal.
+ * @since PHP 5.1
*/
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.
/** @ingroup SPL
* @brief Exception that denotes invalid arguments were passed.
+ * @since PHP 5.1
*/
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.
/** @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.
*
/** @ingroup SPL
* @brief Exception thrown for errors that are only detectable at runtime.
+ * @since PHP 5.1
*/
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.
*
/** @ingroup SPL
* @brief Exception thrown to indicate arithmetic/buffer overflow.
+ * @since PHP 5.1
*/
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.
*/
/** @ingroup SPL
* @brief Exception Exception thrown to indicate arithmetic/buffer underflow.
+ * @since PHP 5.1
*/
class UnderflowException extends RuntimeException
{
/** @ingroup ZendEngine
* @brief Interface to override array access of objects.
+ * @since PHP 5.0
*/
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.
/** @ingroup ZendEngine
* @brief Interface to create an external Iterator.
+ * @since PHP 5.0
*
* @note This is an engine internal interface.
*/
/** @ingroup ZendEngine
* @brief Basic iterator
+ * @since PHP 5.0
*
* Interface for external iterators or objects that can be iterated
* themselves internally.
/** @ingroup SPL
* @brief This Interface allows to hook into the global count() function.
+ * @since PHP 5.1
*/
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.
/** @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.
/** @ingroup SPL
* @brief Directory iterator
+ * @since PHP 5.0
*/
class DirectoryIterator implements Iterator
{
/** @ingroup SPL
* @brief recursive directory iterator
+ * @since PHP 5.0
*/
class RecursiveDirectoryIterator extends DirectoryIterator implements RecursiveIterator
{
/** @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
/** @ingroup SPL
* @brief observer of the observer pattern
+ * @since PHP 5.1
*
* For a detailed explanation see Observer pattern in
* <em>
/** @ingroup SPL
* @brief ubject to the observer pattern
+ * @since PHP 5.1
* @see Observer
*/
interface Subject