help find missing function
| From: | gordonisnz at gmail dot com | Date: | Tue, 16 Jul 2024 16:02:28 +0000 |
| Subject: | help find missing function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-328463@lists.php.net to get a copy of this message | ||
Hi there. I'm wondering if anyone has a good tip.
I'm using var_dump(debug_backtrace()); trying to find a specific function.
The script works fine. No errors, and apparently its doing what I want it to do.
although i want to edit / amend the function..
I know where the function is USED, however I cannot find where it's
actually included from.. i've done word-searches on
glob("*.*");
glob("*/*.*");
glob("*/*/*.*");
glob("*/*/*/*.*"); etc... (there's only 3 levels of directories in this area..)
and using a text-search..
I've used backtrace immediately after using the function, however it
doesn't mention / show the function at all.
email_save_log_03($t);
$GLOBALS["FOUNDFILE"].="SAVING email_save_log_03();\n";
$GLOBALS["FOUNDFILE"].=print_r(debug_backtrace(), true)."\n";
it all gets logged, however i can't find where the save_log function
is and its not shown in the backtrace...
Any advice?
--
Gordon.