Skip to content

Commit

Permalink
xhprof增加返回值
Browse files Browse the repository at this point in the history
  • Loading branch information
leo108 committed Sep 27, 2014
1 parent c6c5f95 commit 2330503
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions XHprof.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
define('XHPROF_MODE_HIERARCHICAL', 1);
define('XHPROF_MODE_SAMPLED', 620002);

function xhprof_disable(){}
function xhprof_disable(){return array();}
function xhprof_enable($flags = 0, $options = array()){}
function xhprof_sample_disable(){}
function xhprof_sample_disable(){return array();}
function xhprof_sample_enable(){}

0 comments on commit 2330503

Please sign in to comment.