functionStats

An object representing a single function statistics entry.

Parameter

 Type

Count

Description

id

Integer

1

SQL query ID.

pageId

Integer

1

ID of the Page which contains this request.

requestId

Integer

1

ID of the request which generated the entry.

functionName

String

1

Name of the function or method name which is being tracked. Anonymous functions are named by the location of their definition.

functionScope

String

1

Namespace for the function. Internal functions will not have a namespace or scope.

functionFull

String

1

The full function name with scope, if any is present

timesCalled

Integer

1

Number of times the function was called throughout the script.

timeExclusive

Integer

1

Time in microseconds spent in the scope of this function alone. This value will not include time spent in children functions.

timeInclusive

Integer

1

Time in microseconds spent in the scope of this function including any calls to other functions or children.

filename

String

1

File path to the function’s definition.

line

Integer

1

Line number within the specified filepath where the function was defined.

isInternal

String

1

1 or 0. Flag which says whether the function is php internal (1) or user defined (0)

Version: 1.8