The returned array contains an array of arrays.
Each array appears to contain:
[0] = function name
[1] = filename that contains function
[2] = *calling* line number in *calling* file
[3] = An array which is usually empty
(PECL apd 0.2-0.4)
apd_callstack — Возвращает текущий вызов стека в виде массива
Возвращает текущий вызов стека в виде массива
Массив, содержащий текущий вызов стека.
Пример #1 Пример использования apd_callstack()
<?php
print_r(apd_callstack());
?>
The returned array contains an array of arrays.
Each array appears to contain:
[0] = function name
[1] = filename that contains function
[2] = *calling* line number in *calling* file
[3] = An array which is usually empty