14,958
edits
(→PHP) |
m (→PHP: add debug_backtrace()) |
||
| Line 186: | Line 186: | ||
$log = print_r($variable, true); | $log = print_r($variable, true); | ||
//save to the log file | //save to the log file | ||
$log = print_r(debug_backtrace(), true); | |||
//Generates a backtrace and save to the log file | |||
</pre> | </pre> | ||