This topic lists the PHP API functions of the Zend Code Tracing.
Function |
Description |
Sets and retrieves the tracing options. |
|
Enables or disables production of trace dump. |
|
Creates a record of the event in the trace log. |
|
Sets/retrieves the current dump name. |
|
Retrieves the current dump base - prefix from which dump names are created |
Sets and retrieves the tracing options.
Available Since Version: 4.0
Parameter |
Type |
Required |
Description |
options |
string |
Yes |
Optional: set tracing options. |
Return Value: int - Old value of the options.
Enables or disables production of trace dump.
Available Since Version: 4.0
Parameter |
Type |
Required |
Description |
dump |
boolean |
Yes |
Optional: enable or disable trace dump. Default is enable. |
Creates a record of the event in the trace log.
Available Since Version: 4.0
Return Value: array - Array containing the trace dump ID number and event number inside the dump.
Sets/retrieves the current dump name.
Available Since Version: 4.0
Parameter |
Type |
Required |
Description |
name |
string |
Yes |
Optional: new dump name suffix. |
Return Value: array - Current dump name (full path).
Retrieves the current dump base - prefix from which dump names are created
Available Since Version: 4.0
Return Value: array - Current dump base (full path).