CallStackGet()

Returns the context (stacktrace) of the current position.

CallStackGet( type=string );

Returns: any

Argument Description Default
type
string, optional

the type of the returned value, possible values are:

  • array
  • string
  • html
  • json

array

Examples

dump(CallStackGet("string"));
dump(CallStackGet("json"));
dump(CallStackGet("array"));
dump(CallStackGet("html"));

See also