Are there any scripts that anyone knows of that I could use to scan all my scripts to list all of the commands used.
What types of command are you looking for?
See this user contribution - https://www.php.net/manual/en/indexes.functions.php#120641 at this page - https://www.php.net/manual/en/indexes.functions.php
That would get you to the point of being able to read the contents of a file and parse it get a list of functions found in that file.