php - debug_print_backtrace doesn't work -


i have php 5.3.4 , when try use debug_print_backtrace, don't anything. when use vardump, empty array, can see below.

index.php:

<?php define('wp_use_themes', true);  require('./wp-blog-header.php');  var_dump(debug_backtrace());  echo php_version; ?> 

which returns

... </html>  array(0) { } 5.3.4 

can tell me wrong? expecting see called in run. instead don't see anything.

debug_backtrace() doesn't show has been called far current call stack (i.e. more or less php jump on return statement until reaches top level) when function invoked.
might interested in profiler e.g. 1 implemented in xdebug plus analyse data e.g. kcachegrind.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -