xhprof_disable

Stops xhprof profiler

&reftitle.description; `array` `xhprof_disable`

Stops the profiler, and returns xhprof data from the run.

&reftitle.parameters; &no.function.parameters;
&reftitle.returnvalues;

An `array` of xhprof data, from the run.

&reftitle.examples;

### `xhprof_disable` example

    <?php
    xhprof_enable();

    $foo = strlen("foo bar");

    $xhprof_data = xhprof_disable();

    print_r($xhprof_data);
    ?>

&example.outputs.similar;

    Array
    (
        [main()==>strlen] => Array
            (
                [ct] => 1
                [wt] => 279
            )

        [main()==>xhprof_disable] => Array
            (
                [ct] => 1
                [wt] => 9
            )

        [main()] => Array
            (
                [ct] => 1
                [wt] => 610
            )

    )