ZEND INTERNAL DO NOT PUBLISH

Zend Code Tracing - PHP API

Table of Contents

PHP Functions

zend_codetracing_options

Sets and retrieves the tracing options.

Available since version 4.0

Description

int zend_codetracing_options (string $options)

Parameters
options
Optional: set tracing options.
Return Value

Old value of the options

zend_codetracing_dump

Enables or disables producing trace dump.

Available since version 4.0

Description

void zend_codetracing_dump (boolean $dump)

Parameters
dump
Optional: enable or disable trace dump. Default is enable.

zend_codetracing_event

Creates a record of event in the trace log.

Available since version 4.0

Description

array zend_codetracing_event (void)

Return Value

Array containing trace dump ID number and event number inside the dump

zend_codetracing_dump_name

Sets/retrieves current dump name

Available since version 4.0

Description

array zend_codetracing_dump_name (string $name)

Parameters
name
Optional: new dump name suffix.
Return Value

Current dump name (full path).

zend_codetracing_dump_base

Retrieves current dump base - prefix from which dump names are created

Available since version 4.0

Description

array zend_codetracing_dump_base (void)

Return Value

Current dump base (full path).