note 47658 deleted from function.debug-backtrace by cmb
| From: | cmb@php.net | Date: | Sun, 17 Nov 2019 08:33:14 +0000 |
| Subject: | note 47658 deleted from function.debug-backtrace by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-213070@lists.php.net to get a copy of this message | ||
Note Submitter: diz at ysagoon dot com
----
Ok as spagmoid already said, I just realized that my function has a similar bug than jlim's
function.
So just add the following line:
if (is_array($bt['args']))
before line:
foreach ($bt['args'] as $a) {
This way you avoid the warning from being displayed.