ArrayAccess::offsetExists

(PHP 5 >= 5.0.0, PHP 7) Whether an offset exists abstract public boolean ArrayAccess::offsetExists ( mixed $offset ) Whether or not an offset exists. This method is executed when using isset() or empty() on objects implementing ArrayAccess. Note: When using empty() ArrayAccess::offsetGet() will be called and checked if empty only if ArrayAccess::offsetExists() returns TRUE. Parameters:

Throwable::__toString

(PHP 7) Gets a string representation of the thrown object abstract public string Throwable::__toString ( void ) Returns: Returns the string representation of the thrown object. See also: Exception::__toString() -

Throwable::getPrevious

(PHP 7) Returns the previous Throwable abstract public Throwable Throwable::getPrevious ( void ) Returns any previous Throwable (for example, one provided as the third parameter to Exception::__construct()). Returns: Returns the previous Throwable if available, or NULL otherwise. See also: Exception::getPrevious

Throwable::getTraceAsString

(PHP 7) Gets the stack trace as a string abstract public string Throwable::getTraceAsString ( void ) Returns: Returns the stack trace as a string. See also: Exception::getTraceAsString() -

Throwable::getTrace

(PHP 7) Gets the stack trace abstract public array Throwable::getTrace ( void ) Returns the stack trace as an array. Returns: Returns the stack trace as an array in the same format as debug_backtrace(). See also: Exception::getTrace() -

Throwable::getLine

(PHP 7) Gets the line on which the object was instantiated abstract public int Throwable::getLine ( void ) Returns the line number where the thrown object was instantiated. Returns: Returns the line number where the thrown object was instantiated. See also: Exception::getLine() -

Throwable::getFile

(PHP 7) Gets the file in which the exception occurred abstract public string Throwable::getFile ( void ) Returns the name of the file from which the object was thrown. Returns: Returns the name of the file from which the object was thrown. See also: Exception::getFile() -

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

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

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.