php man page for xhprof_sample_disable

Query: xhprof_sample_disable

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XHPROF_SAMPLE_DISABLE(3)						 1						  XHPROF_SAMPLE_DISABLE(3)

xhprof_sample_disable - Stops xhprof sample profiler

SYNOPSIS
array xhprof_sample_disable (void )
DESCRIPTION
Stops the sample mode xhprof profiler, and
PARAMETERS
This function has no parameters.
RETURN VALUES
An array of xhprof sample data, from the run.
EXAMPLES
Example #1 xhprof_sample_disable(3) example <?php xhprof_sample_enable(); for ($i = 0; $i <= 10000; $i++) { $a = strlen($i); $b = $i * $a; $c = rand(); } $xhprof_data = xhprof_sample_disable(); print_r($xhprof_data); ?> The above example will output something similar to: Array ( [1272935300.800000] => main() [1272935300.900000] => main() ) PHP Documentation Group XHPROF_SAMPLE_DISABLE(3)
Related Man Pages
array_map(3) - php
array_flip(3) - php
array_keys(3) - php
array_reverse(3) - php
get_defined_functions(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Rules for Homework &amp; Coursework Questions Forum
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun