略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: scoutapm_list_instrumented_functions

2025-02-27

scoutapm_list_instrumented_functions

(PECL scoutapm >= 1.0.2)

scoutapm_list_instrumented_functionsList functions scoutapm will instrument.

说明

scoutapm_list_instrumented_functions(): array

Returns a list of the functions the extension will instrument.

参数

此函数没有参数。

返回值

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.

示例

示例 #1 Fetch the list of functions scoutapm will instrument

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

以上示例的输出类似于:

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
)
添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/function.scoutapm-list-instrumented-functions.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3