PEAR_ErrorStack::staticPushCallback

PEAR_ErrorStack::staticPushCallback() – Set an error Callback for every package's error stack

Synopsis

require_once 'PEAR/ErrorStack.php';

void PEAR_ErrorStack::staticPushCallback ( string|array $cb )

Description

Set an error callback for every package's singleton error stack.

Parameter

string|array $cb

Throws

No exceptions thrown.

Note

This function should be called statically.

Static version of push (Previous) Log an error using PEAR::Log (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.