API Reference Guide > Zend Utils - PHP API

Zend Utils - PHP API

This topic lists the PHP API functions of the Zend Utils.

Zend Utils Functions

Function

Description

zend_report_statistics

Report a statistics record

zend_disable_statistics

Disables statistics gathering for the current request

zem_serial_number_info

Returns information about current license

zend_deployment_library_path

Returns a deployed library path

Zend Utils Constants

Constant

Type

Available Since Version

ZEND_STATS_TYPE_OPLUS_UTILIZATION

int

6.0

ZEND_STATS_TYPE_OPLUS_HITS

int

6.0

ZEND_STATS_TYPE_OPLUS_MISSES

int

6.0

ZEND_STATS_TYPE_OPLUS_FILES_CONSUMPTION

int

6.0

ZEND_STATS_TYPE_OPLUS_MEMORY_CONSUMPTION

int

6.0

ZEND_STATS_TYPE_OPLUS_MEMORY_WASTED

int

6.0

ZEND_STATS_TYPE_DC_SHM_UTILITZATION

int

6.0

ZEND_STATS_TYPE_DC_SHM_HITS

int

6.0

ZEND_STATS_TYPE_DC_SHM_MISSES

int

6.0

ZEND_STATS_TYPE_DC_DISK_HITS

int

6.0

ZEND_STATS_TYPE_DC_DISK_MISSES

int

6.0

ZEND_STATS_TYPE_DC_NUM_OF_NAMESPACES

int

6.0

ZEND_STATS_TYPE_DC_SHM_NUM_OF_ENTRIES

int

6.0

ZEND_STATS_TYPE_PC_NUM_OF_RULES

int

6.0

ZEND_STATS_TYPE_PC_HITS_PER_RUL

int

6.0

ZEND_STATS_TYPE_PC_MISSES_PER_RUL

int

6.0

ZEND_STATS_TYPE_PC_AVG_PROC_TIME_NON_CACHED_PAGE

int

6.0

ZEND_STATS_TYPE_PC_AVG_PROC_TIME_CACHED_PAGE

int

6.0

ZEND_STATS_TYPE_PC_NON_HANDLED_REQUESTS

int

6.0

ZEND_STATS_TYPE_JQ_JOBS_PER_STATUS

int

6.0

ZEND_STATS_TYPE_JQ_JOBS_ENQUEUED

int

6.0

ZEND_STATS_TYPE_JQ_JOBS_SCHEDULED_ENQUEUED

int

6.0

ZEND_STATS_TYPE_JQ_JOBS_DEQUEUED

int

6.0

ZEND_STATS_TYPE_MON_NUM_OF_EVENTS

int

6.0

ZEND_STATS_TYPE_NUM_PHP_WORKERS

int

6.0

ZEND_STATS_TYPE_NUM_REQUESTS_PER_SECOND

int

6.0

ZEND_STATS_TYPE_NUM_REQUESTS

int

6.0

ZEND_STATS_TYPE_AVG_REQUEST_PROCESSING_TIME

int

6.0

ZEND_STATS_TYPE_MAX_REQUEST_PROCESSING_TIME

int

6.0

ZEND_STATS_TYPE_MIN_REQUEST_PROCESSING_TIME

int

6.0

ZEND_STATS_TYPE_AVG_REQUEST_PROCESSING_TIME_PER_APP

int

6.0

ZEND_STATS_TYPE_AVG_MEMORY_USAGE

int

6.0

ZEND_STATS_TYPE_AVG_CPU_USAGE

int

6.0

ZEND_STATS_TYPE_AVG_REQUEST_OUTPUT_SIZE

int

6.0

ZEND_STATS_TYPE_AVG_DATABASE_TIME

int

6.0

ZEND_STATS_TYPE_SC_AVG_SESSION_SIZE

int

6.0

ZEND_STATS_TYPE_SC_MIN_SESSION_SIZE

int

6.0

ZEND_STATS_TYPE_SC_MAX_SESSION_SIZE

int

6.0

ZEND_STATS_TYPE_SC_SESSIONS_PER_APP

int

6.0

ZEND_STATS_TYPE_SC_SESSIONS_DATA_SPACE

int

6.0

ZEND_STATS_TYPE_ACTIVE_SESSIONS

int

6.0

zend_report_statistics

Report a statistics record

Available Since Version: 6.0

Parameter

Type

Required

Description

record

array

Yes

Array containing statistics record

Return Value: boolean - True if successful. False otherwise

zend_disable_statistics

Disables statistics gathering for the current request

Available Since Version: 6.0

Return Value: void -

zem_serial_number_info

Returns information about current license

Available Since Version: 6.0

Return Value: array - Array of license proprties

zend_deployment_library_path

Returns a deployed library path

Available Since Version: 6.1

Parameter

Type

Required

Description

name

string

Yes

Library name

version

string

No

Library version

Return Value: string - Full path to matched library. Will return best matching library path if partial version is provided