(PECL xhprof >= 0.9.0)
xhprof_disable — Detiene el perfilador xhprof
Detiene el perfilador, y devuelve los datos xhprof de la ejecución.
Esta función no tiene parámetros.
Un array de los datos xhprof, de la ejecución.
Ejemplo #1 xhprof_disable() ejemplo
<?php
xhprof_enable();
$foo = strlen("foo bar");
$xhprof_data = xhprof_disable();
print_r($xhprof_data);
?>
El resultado del ejemplo sería algo similar a:
Array
(
[main()==>strlen] => Array
(
[ct] => 1
[wt] => 279
)
[main()==>xhprof_disable] => Array
(
[ct] => 1
[wt] => 9
)
[main()] => Array
(
[ct] => 1
[wt] => 610
)
)