Easy Tutorial
❮ Php Image2Wbmp Filter Unsafe Raw ❯

PHP debug_backtrace() Function



Definition and Usage

The debug_backtrace() function generates a backtrace.

This function displays data generated by the debug_backtrace() function code.

It returns an associative array. The following elements may be returned:

Name Type Description
function string The current function name.
line integer The current line number.
file string The current file name.
class string The current class name.
object object The current object.
type string The current call type, possible calls: Returns "->" - Method call<br> Returns "::" - Static method call<br> Returns nothing - Function call
args array If inside a function, lists the function parameters. If inside an included file, lists the included file names.

Syntax


Example

The output of the above code is as follows:


❮ Php Image2Wbmp Filter Unsafe Raw ❯