php8.5
Home/ Manual/ scoutapm / functions/ scoutapm_list_instrumented_functions

scoutapm_list_instrumented_functions

PHP function Edit on GitHub ✎

(PECL scoutapm >= 1.0.2)

List functions scoutapm will instrument.

Description

scoutapm_list_instrumented_functions(): array

Returns a list of the functions the extension will instrument.

Parameters Parameters

Return Values

scoutapm_list_instrumented_functions() returns an array containing a list of all functions that the scoutapm extension is able to instrument in the current installation.

Examples

Fetch the list of functions scoutapm will instrument

php
<?php
print_r(scoutapm_list_instrumented_functions());
?>

The above example will output something similar to:

output
Array
(
    [0] => file_get_contents
    [1] => file_put_contents
    [2] => fopen
    [3] => fread
    [4] => fwrite
    [5] => pdo->exec
    [6] => pdo->query
    [7] => pdo->prepare
    [8] => pdostatement->execute
)

Source: reference/scoutapm/functions/scoutapm-list-instrumented-functions.xml · from the official PHP manual (php/doc-en)