how to find which included script defines a variable

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dedalus72
Forum Newbie
Posts: 1
Joined: Fri Oct 06, 2006 9:44 am

how to find which included script defines a variable

Post by dedalus72 »

Hi,

I have a fairly large website that I have just inherited at my new job, and the programmer who build it is no longer here. My issue is that there are many layers of included files in each script, making it difficult in many cases to figure out where a variable is first defined. Is there some function or way of finding out what script initially defines a variable from within a different script? Or do I have to hunt through all the included files to find that out?
Post Reply