error_get_last

(PHP 5 >= 5.2.0, PHP 7) Get the last occurred error array error_get_last ( void ) Gets information about the last error that occurred. Returns: Returns an associative array describing the last error with keys "type", "message", "file" and "line". If the error has been caused by a PHP internal function then the "message" begins with its name. Returns NULL if there hasn't been an error yet.

bcompiler_write_included_filename

(PECL bcompiler >= 0.5) Writes an included file as bytecodes bool bcompiler_write_included_filename ( resource $filehandle, string $filename ) Returns: Returns TRUE on success or FALSE on failure. This function is currently not documented; only its argument list is available.

error_clear_last

(PHP 7) Clear the most recent error void error_clear_last ( void ) Returns: Clears the most recent errors, making it unable to be retrieved with error_get_last(). Examples: An error_clear_last() example <?php var_dump(error_get_last()); error_clear_last(); var_dump(error_get_last()); @$a = $b; var_dump(error_get_last(

debug_backtrace

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Generates a backtrace array debug_backtrace ([ int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT [, int $limit = 0 ]] ) debug_backtrace() generates a PHP backtrace. Parameters: options As of 5.3.6, this parameter is a bitmask for the following options: debug_backtrace() options DEBUG_BACKTRACE_PROVIDE_OBJECT Whether or not to populate the

debug_print_backtrace

(PHP 5, PHP 7) Prints a backtrace void debug_print_backtrace ([ int $options = 0 [, int $limit = 0 ]] ) debug_print_backtrace() prints a PHP backtrace. It prints the function calls, included/required files and eval()ed stuff. Parameters: options As of 5.3.6, this parameter is a bitmask for the following options: debug_print_backtrace() options DEBUG_BACKTRACE_IGNORE

blenc_encrypt

(PECL blenc >= 5) Encrypt a PHP script with BLENC. string blenc_encrypt ( string $plaintext, string $encodedfile [, string $encryption_key ] ) Encrypt the plaintext content and write it into encodedfile Parameters: plaintext A source code to encrypt. Does not need to contain opening/closing PHP tags encodedfile The filename where B

bcompiler_write_header

(PECL bcompiler >= 0.3) Writes the bcompiler header bool bcompiler_write_header ( resource $filehandle [, string $write_ver ] ) Writes the header part of a bcompiler file. Parameters: filehandle A file handle as returned by fopen(). write_ver Can be used to write bytecode in a previously used format, so that you can use it with older

bcompiler_write_footer

(PECL bcompiler >= 0.4) Writes the single character \x00 to indicate End of compiled data bool bcompiler_write_footer ( resource $filehandle ) Writes the single character \x00 to indicate End of compiled data. Parameters: filehandle A file handle as returned by fopen(). Returns: Returns TRUE on success or FALSE on failure.

bcompiler_write_file

(PECL bcompiler >= 0.6) Writes a php source file as bytecodes bool bcompiler_write_file ( resource $filehandle, string $filename ) This function compiles specified source file into bytecodes, and writes them to the open file handle. Parameters: filehandle A file handle as returned by fopen(). filename The source file path, as a strin

bcompiler_write_class

(PECL bcompiler >= 0.4) Writes a defined class as bytecodes bool bcompiler_write_class ( resource $filehandle, string $className [, string $extends ] ) Reads the bytecodes from PHP for an existing class, and writes them to the open file handle. Parameters: filehandle A file handle as returned by fopen(). className The class name, as