array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'function.scoutapm-list-instrumented-functions.php', 1 => 'scoutapm_list_instrumented_functions', ), 'up' => array ( 0 => 'ref.scoutapm.php', 1 => 'Scoutapm Fonctions', ), 'prev' => array ( 0 => 'function.scoutapm-get-calls.php', 1 => 'scoutapm_get_calls', ), 'next' => array ( 0 => 'book.snmp.php', 1 => 'SNMP', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/scoutapm/functions/scoutapm-list-instrumented-functions.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL scoutapm >= 1.0.2)
scoutapm_list_instrumented_functions — List functions scoutapm will instrument.
Returns a list of the functions the extension will instrument.
Cette fonction ne contient aucun paramètre.
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.
Exemple #1 Fetch the list of functions scoutapm will instrument
<?php
print_r(scoutapm_list_instrumented_functions());
?>
Résultat de l'exemple ci-dessus est similaire à :
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 )