ErrorException::__construct

(PHP 5 >= 5.1.0, PHP 7) Constructs the exception public ErrorException::__construct ([ string $message = "" [, int $code = 0 [, int $severity = 1 [, string $filename = __FILE__ [, int $lineno = __LINE__ [, Exception $previous = NULL ]]]]]] ) Constructs the Exception. Parameters: message The Exception message to throw. code The Exception code.

Exception::getTrace

(PHP 5 >= 5.1.0, PHP 7) Gets the stack trace final public array Exception::getTrace ( void ) Returns the Exception stack trace. Returns: Returns the Exception stack trace as an array. Examples: Exception::getTrace() example <?php function test() {  throw new Exception; } try {  test(); } catch(Exception $e) {  var_

Exception::getPrevious

(PHP 5 >= 5.3.0, PHP 7) Returns previous Exception final public Exception Exception::getPrevious ( void ) Returns previous Exception (the third parameter of Exception::__construct()). Returns: Returns the previous Exception if available or NULL otherwise. Examples: Exception::getPrevious() example Looping over, and prin

Exception::__construct

(PHP 5 >= 5.1.0, PHP 7) Construct the exception public Exception::__construct ([ string $message = "" [, int $code = 0 [, Throwable $previous = NULL ]]] ) Constructs the Exception. Parameters: message The Exception message to throw. code The Exception code. previous The previous exception used for the exception cha

Exception::getMessage

(PHP 5 >= 5.1.0, PHP 7) Gets the Exception message final public string Exception::getMessage ( void ) Returns the Exception message. Returns: Returns the Exception message as a string. Examples: Exception::getMessage() example <?php try {     throw new Exception("Some error message"); } catch(Exception $e) {     ech

Exception::getCode

(PHP 5 >= 5.1.0, PHP 7) Gets the Exception code final public mixed Exception::getCode ( void ) Returns the Exception code. Returns: Returns the exception code as integer in Exception but possibly as other type in Exception descendants (for example as string in PDOException). Examples: Exception::getCode() example <?

Exception::getFile

(PHP 5 >= 5.1.0, PHP 7) Gets the file in which the exception occurred final public string Exception::getFile ( void ) Get the name of the file the exception was created. Returns: Returns the filename in which the exception was created. Examples: Exception::getFile() example <?php try {     throw new Exception; } cat

expect://

Process Interaction Streams Streams opened via the expect:// wrapper provide access to process'es stdio, stdout and stderr via PTY. Note: This wrapper is not enabled by default In order to use the expect:// wrapper you must install the » Expect extension available from » PECL. expect:// PHP 4.3.0 and up (PECL)

password_verify

(PHP 5 >= 5.5.0, PHP 7) Verifies that a password matches a hash boolean password_verify ( string $password, string $hash ) Verifies that the given hash matches the given password. Note that password_hash() returns the algorithm, cost and salt as part of the returned hash. Therefore, all information that's needed to verify the hash is included in it. This allows the verify function to verify the hash without needing sepa

rar://

RAR The wrapper takes the url encoded path to the RAR archive (relative or absolute), an optional asterik (*), an optional number sign (#) and an optional url encoded entry name, as stored in the archive. Specifying an entry name requires the number sign; a leading forward slash in the entry name is optional. This wrapper can open both files and directories. When opening directories, the asterisk sign forces the directory entries names to be returned unencoded.