#デバッグ時に使える処理ファイルの探索
##debug_backtrace()
$bt = debug_backtrace();
foreach ($bt as $num => $row) {
$dt[] = [
$row['file'],
$row['line']
];
}
krsort($dt);
$dt= array_values($dt);
var_dump($dt);
Go to list of users who liked
More than 5 years have passed since last update.
#デバッグ時に使える処理ファイルの探索
##debug_backtrace()
$bt = debug_backtrace();
foreach ($bt as $num => $row) {
$dt[] = [
$row['file'],
$row['line']
];
}
krsort($dt);
$dt= array_values($dt);
var_dump($dt);
Register as a new user and use Qiita more conveniently
Go to list of users who liked