-
-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If an internal PHP function, such as call_user_func
, in the backtrace, the 'file' and 'line' not be available.
#528
Conversation
…ce, the 'file' and 'line' not be available. such as `call_user_func`: ... D:\yii2\common\yiime\DbActiveQuery.php:34 D:\yii2\backend\controllers\SiteController.php:83 [ 'function' => 'actionLogin' 'class' => 'backend\\controllers\\SiteController' 'type' => '->' ] D:\yii2\vendor\yiisoft\yii2\base\InlineAction.php:57 D:\yii2\vendor\yiisoft\yii2\base\Controller.php:178 ... such as `ReflectionClass::newInstanceArgs`: ... D:\yii2\vendor\yiisoft\yii2-debug\src\panels\UserPanel.php:83 D:\yii2\vendor\yiisoft\yii2\base\BaseObject.php:109 [ 'function' => '__construct' 'class' => 'yii\\base\\BaseObject' 'type' => '->' ] D:\yii2\vendor\yiisoft\yii2\di\Container.php:419 D:\yii2\vendor\yiisoft\yii2\di\Container.php:170 ...
PR Summary
|
Would you please add a line for CHANGELOG? |
Co-authored-by: Bizley <pawel.bizley@gmail.com>
Thank you! |
It should be noted that if an internal php function such as call_user_func in the backtrace, the 'file' and 'line' entries will not be set.
@see https://www.php.net/manual/en/function.debug-backtrace.php#59713