Functions return Function Errors and therefore offer specific information about the root of the error that does not always arise from PHP errors.
QA and Production use this Event for identifying run-time events, as opposed to PHP errors that identify code-related/syntactical events.
Function Errors can prove to be invaluable to an organization as they provide a different perspective on problems (view the outside problems through the eyes of PHP). Despite the fact that the code may be running okay, this Event indicates what other outside problems (i.e. network, database, web services, file system etc.) you may have, based on the PHP function’s behavior. Issues like these used to be difficult to reproduce however with the complete audit trail and full problem context, Function Errors can be easily reproduced to a level of accuracy that mirrors the actual time of occurrence.
Description:
Generate a severe event when an error in one of the specified PHP Functions (built-in or user-defined) fails (returns a FALSE value).
To add a function, enter the name into the + field and press Add (+).
There are three ways to monitor PHP functions:
Specify the function name, object methods can also be used (for example, bar::foo).
Use wild cards (*) to specify a range of function names for example myFunc_* will select all functions beginning with myFunc_.
Specify the full path to a file containing a list of functions, each in a new line.
Note:
Database related functions are directed and reported as Database Errors (see the "Database Error" event type).
The Watched Functions file can add Function Error and Slow Function Execution event types (PHP Intelligence | Event Triggers) by entering a function in the field and pressing Add or specifying the full path to a file containing a list of functions.
When users apply the Watched Functions file to the "Function Error" Event Type, the functions included in the file will be monitored and an Event Details screen will be generated.
Return to Event Triggers