Error::__toString

(No version information available, might only be in Git) String representation of the error public string Error::__toString ( void ) Returns the string representation of the error. Returns: Returns the string representation of the error. Examples: Error::__toString() example <?php try {     throw new Error("Some error 

Error::__clone

(No version information available, might only be in Git) Clone the error final private void Error::__clone ( void ) Error can not be clone, so this method results in fatal error. Returns: No value is returned. Exception: Errors are not clonable.

Iterator::current

(PHP 5 >= 5.0.0, PHP 7) Return the current element abstract public mixed Iterator::current ( void ) Returns the current element. Returns: Can return any type.

Iterator::key

(PHP 5 >= 5.0.0, PHP 7) Return the key of the current element abstract public scalar Iterator::key ( void ) Returns the key of the current element. Returns: Returns scalar on success, or NULL on failure. Exception: Issues E_NOTICE on failure.

Iterator::next

(PHP 5 >= 5.0.0, PHP 7) Move forward to next element abstract public void Iterator::next ( void ) Moves the current position to the next element. Note: This method is called after each foreach loop. Returns: Any returned value is ignored.

Iterator::rewind

(PHP 5 >= 5.0.0, PHP 7) Rewind the Iterator to the first element abstract public void Iterator::rewind ( void ) Rewinds back to the first element of the Iterator. Note: This is the first method called when starting a foreach loop. It will not be executed after foreach loops. Returns: Any returned value is ignored.

Iterator::valid

(PHP 5 >= 5.0.0, PHP 7) Checks if current position is valid abstract public boolean Iterator::valid ( void ) This method is called after Iterator::rewind() and Iterator::next() to check if the current position is valid. Returns: The return value will be casted to boolean and then evaluated. Returns TRUE on success or FALSE on failure.

IteratorAggregate::getIterator

(PHP 5 >= 5.0.0, PHP 7) Retrieve an external iterator abstract public Traversable IteratorAggregate::getIterator ( void ) Returns an external iterator. Returns: An instance of an object implementing Iterator or Traversable Exception: Throws an Exception on failure.

Throwable::getMessage

(PHP 7) Gets the message abstract public string Throwable::getMessage ( void ) Returns the message associated with the thrown object. Returns: Returns the message associated with the thrown object. See also: Exception::getMessage() -

Throwable::getCode

(PHP 7) Gets the exception code abstract public int Throwable::getCode ( void ) Returns the error code associated with the thrown object. Returns: Returns the exception code as integer in Exception but possibly as other type in Exception descendants (for example as string in PDOException). See also: Exception::g