2
Bug #28377 (debug_backtrace is intermittently passing args)
7
$trace = debug_backtrace();
8
custom_callback('dereferenced', $trace);
9
custom_callback('direct', debug_backtrace());
12
function custom_callback($traceName, $btInfo)
14
echo $traceName ." -- args: ";
15
echo isset($btInfo[0]['args']) ? count($btInfo[0]['args']) : 'does not exist';
22
dereferenced -- args: 2
2
Bug #28377 (debug_backtrace is intermittently passing args)
7
$trace = debug_backtrace();
8
custom_callback('dereferenced', $trace);
9
custom_callback('direct', debug_backtrace());
12
function custom_callback($traceName, $btInfo)
14
echo $traceName ." -- args: ";
15
echo isset($btInfo[0]['args']) ? count($btInfo[0]['args']) : 'does not exist';
22
dereferenced -- args: 2