Several function calls in a project I am working on report "Call to unknown function" with the warning code PHP0417, however the code runs fine and I can step into the functions from the debugger (Visual Studio 2019 version 16.11.8 and PHP Tools 1.59.15092).
Noteworthy, the "unknown" functions are in nested include files similar to:
main.php has require("include_1.php") which has require("include_2.php") which has require("include_3.php"). The include_3.php file contains the "unknown" function.
Yeah, it looks rather crazy as I post this, but this series of include files is a fairly clean method we use to share functions across 12+ projects (it's sort-of a pseudo library).
Thanks!