Zend Code Tracing - Configuration Directives

Configuration Directives Summary

Directive Type Modification Scope Description
zend_codetracing.enable boolean ZEND_INI_PERDIR Is tracing functionality enabled?
zend_codetracing.buffer_size string PHP_INI_SYSTEM The size of the trace memory buffer
zend_codetracing.dump_format integer PHP_INI_ALL The type of dump produced
zend_codetracing.max_string integer PHP_INI_ALL The maximal length of the string before it is cut
zend_codetracing.max_depth integer PHP_INI_ALL The maximal depth of the array preserved
zend_codetracing.max_elements integer PHP_INI_ALL The maximal number of the array elements preserved
zend_codetracing.dump_file string PHP_INI_ALL The prefix for the dump file names, relative to zend.data_dir.
zend_codetracing.trace_enable boolean PHP_INI_ALL Tracing data collection is enabled
zend_codetracing.trace_time boolean PHP_INI_ALL Timestamp collection is enabled
zend_codetracing.trace_source_lines boolean PHP_INI_ALL Source file information collection is enabled
zend_codetracing.trace_internal_functions boolean PHP_INI_ALL Internal functions call collection is enabled
zend_codetracing.trace_user_functions boolean PHP_INI_ALL User functions call collection is enabled
zend_codetracing.trace_includes boolean PHP_INI_ALL Include/require data collection is enabled
zend_codetracing.trace_arguments boolean PHP_INI_ALL Function call argument collection is enabled
zend_codetracing.trace_return_values boolean PHP_INI_ALL Function return value collection is enabled
zend_codetracing.trace_exceptions boolean PHP_INI_ALL PHP exception data collection is enabled
zend_codetracing.trace_arrays boolean PHP_INI_ALL Array contents recording is enabled
zend_codetracing.trace_write boolean PHP_INI_ALL Output data (writing) collection is enabled
zend_codetracing.trace_headers boolean PHP_INI_ALL Output headers collection is enabled
zend_codetracing.trace_memory_usage boolean PHP_INI_ALL Memory usage data collection is enabled
zend_codetracing.trace_errors boolean PHP_INI_ALL PHP error collection is enabled
zend_codetracing.trace_events boolean PHP_INI_ALL Zend Monitor event recording is enabled
zend_codetracing.always_dump boolean PHP_INI_ALL Trace data is always persisted
zend_codetracing.dump_on_segv boolean PHP_INI_ALL Trace data is persisted if fatal signal (like Segmentation Fault) happens
zend_codetracing.max_freq integer PHP_INI_SYSTEM Minimum amount of seconds between successive dumps.
zend_codetracing.log_file string PHP_INI_SYSTEM Log file for the Code Tracing module (relative to the log dir).
zend_codetracing.log_verbosity integer PHP_INI_SYSTEM Logging verbosity level.
zend_codetracing.override_functions string PHP_INI_SYSTEM List of overriding functions.
zend_codetracing.max_concurrent_trace_buffers integer PHP_INI_ALL Number of concurrent trace buffer allocated
zend_codetracing.log_rotation_size integer PHP_INI_ALL The maximum size of the log file before it is rotated

Configuration Directive Details

zend_codetracing.enable

Is tracing functionality enabled?

Type: boolean

Default Value: 1

Available since version 4.0

zend_codetracing.buffer_size

The size of the trace memory buffer

Type: string

Units: Bytes

Default Value: 1M

Available since version 4.0

zend_codetracing.dump_format

The type of dump produced

Type: integer

Default Value: 2

Available since version 4.0

zend_codetracing.max_string

The maximal length of the string before it is cut

Type: integer

Units: Bytes

Default Value: 48

Available since version 4.0

zend_codetracing.max_depth

The maximal depth of the array preserved

Type: integer

Default Value: 2

Available since version 4.0

zend_codetracing.max_elements

The maximal number of the array elements preserved

Type: integer

Default Value: 10

Available since version 4.0

zend_codetracing.dump_file

The prefix for the dump file names, relative to zend.data_dir.

Type: string

Default Value: codetracing/dump

Available since version 4.0

zend_codetracing.trace_enable

Tracing data collection is enabled

Type: boolean

Default Value: 0

Available since version 4.0

zend_codetracing.trace_time

Timestamp collection is enabled

Type: boolean

Default Value: 1

Available since version 4.0

zend_codetracing.trace_source_lines

Source file information collection is enabled

Type: boolean

Default Value: 1

Available since version 4.0

zend_codetracing.trace_internal_functions

Internal functions call collection is enabled

Type: boolean

Default Value: 1

Available since version 4.0

zend_codetracing.trace_user_functions

User functions call collection is enabled

Type: boolean

Default Value: 1

Available since version 4.0

zend_codetracing.trace_includes

Include/require data collection is enabled

Type: boolean

Default Value: 1

Available since version 4.0

zend_codetracing.trace_arguments

Function call argument collection is enabled

Type: boolean

Default Value: 1

Available since version 4.0

zend_codetracing.trace_return_values

Function return value collection is enabled

Type: boolean

Default Value: 1

Available since version 4.0

zend_codetracing.trace_exceptions

PHP exception data collection is enabled

Type: boolean

Default Value: 1

Available since version 4.0

zend_codetracing.trace_arrays

Array contents recording is enabled

Type: boolean

Default Value: 1

Available since version 4.0

zend_codetracing.trace_write

Output data (writing) collection is enabled

Type: boolean

Default Value: 1

Available since version 4.0

zend_codetracing.trace_headers

Output headers collection is enabled

Type: boolean

Default Value: 1

Available since version 4.0

zend_codetracing.trace_memory_usage

Memory usage data collection is enabled

Type: boolean

Default Value: 1

Available since version 4.0

zend_codetracing.trace_errors

PHP error collection is enabled

Type: boolean

Default Value: 1

Available since version 4.0

zend_codetracing.trace_events

Zend Monitor event recording is enabled

Type: boolean

Default Value: 1

Available since version 4.0

zend_codetracing.always_dump

Trace data is always persisted

Type: boolean

Default Value: 0

Available since version 4.0

zend_codetracing.dump_on_segv

Trace data is persisted if fatal signal (like Segmentation Fault) happens

Type: boolean

Default Value: 1

Available since version 4.0

zend_codetracing.max_freq

Minimum amount of seconds between successive dumps.

Type: integer

Default Value: 1

Available since version 4.0

zend_codetracing.log_file

Log file for the Code Tracing module (relative to the log dir).

Type: string

Default Value: codetracing.log

Available since version 4.0

zend_codetracing.log_verbosity

Logging verbosity level.

Type: integer

Default Value: 0

Available since version 4.0

zend_codetracing.override_functions

List of overriding functions. Can contain function names, wildcards (prefix_*) and references to files (@filename). Entries are separated by comma. File contains one entry per line, which can be function name or wildcard.

Type: string

Default Value: @ZEND_PREFIX/etc/functions.txt

Available since version 4.0

zend_codetracing.max_concurrent_trace_buffers

Number of concurrent trace buffer allocated

Type: integer

Default Value: 5

Available since version 4.0

zend_codetracing.log_rotation_size

The maximum size of the log file before it is rotated

Type: integer

Units: MBytes

Default Value: 10

Available since version 4.0