SchweppesAle Posted January 22, 2010 Share Posted January 22, 2010 Hi, I'm trying to document a proprietary CMS system. Unfortunately, it's kind of a complete and utter mess. Is there a function within PHP which returns the "absolute file location" of another function after it's called? I can't find this damn thing Quote Link to comment https://forums.phpfreaks.com/topic/189477-locating-functions-etc/ Share on other sites More sharing options...
jskywalker Posted January 23, 2010 Share Posted January 23, 2010 if this CMS is on a linux system, you might go to the documentroot, and try: grep -ir 'function <yourFunctionNameToFind>' *.php This should find all occurences of "<yourFunctionNameToFind>" in the php-scripts. Quote Link to comment https://forums.phpfreaks.com/topic/189477-locating-functions-etc/#findComment-1000448 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.