PHP Manual

PEAR Manual

Smarty Manual

PostgreSQL

MySQL Manual

Perl Manual

pear_errorstack::setcontextcallback()

pear_errorstack::setcontextcallback()  --  set a callback that generates context information (location of error) for an error stack

description

this method sets the callback that can be used to generate context information for an error. passing in null will disable context generation and remove the expensive call to debug_backtrace()

parameter

mixed $contextcallback

a valid callback as defined by is_callable()

throws

no exceptions thrown.

note

this function can not be called statically.