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.

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.

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 

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::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.

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.

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() -

Error::getFile

(No version information available, might only be in Git) Gets the file in which the error occurred final public string Error::getFile ( void ) Get the name of the file the error occurred. Returns: Returns the filename in which the error occurred. Examples: Error::getFile() example <?php try {     throw new Error; } cat

Error::getCode

(No version information available, might only be in Git) Gets the error code final public mixed Error::getCode ( void ) Returns the error code. Returns: Returns the error code as integer Examples: Error::getCode() example <?php try {     throw new Error("Some error message", 30); } catch(Error $e) {     echo "The Error

Error::getLine

(No version information available, might only be in Git) Gets the line in which the error occurred final public int Error::getLine ( void ) Get line number where the error occurred. Returns: Returns the line number where the error occurred. Examples: Error::getLine() example <?php try {     throw new Error("Some error