Tracking a PHP program's entry points

Status
Not open for further replies.

ronelson

Ars Legatus Legionis
21,399
Subscriptor
I am dealing with some horribly undocumented PHP code (MantisBT) and trying to get a handle on the auth system to build a plugin. Are there any decent tools, windows or unix, that can help me find the entry points for different functions, which functions are never used (*sigh* they actually have unused functions), etc? I could probably use more features than that, if possible.
 

ronelson

Ars Legatus Legionis
21,399
Subscriptor
Thanks to Netbeans I figured it out (see here). I did not try xdebug, but I did find that someone posted their phpxref pages at mantisforge.org. That was not as helpful as I thought, the one or two variables I looked at were apparently the ones it occasionally missed. Is there a way to open links in a new tab or not? Every time I tried to do that it sent me back to the main URL.
 
Status
Not open for further replies.