Posted by CptDondo on 12/08/06 21:20
Darren Dunham wrote:
> I've had to do some work with an existing PHP application.
> Unfortunately, the app is pretty big, undocumented, and heavily (and in
> some places, inappropriately) abstracted. I've spent a day with it and
> am having a difficult time just trying to understand who calls what and
> passes what information to functions overloaded from a class called via
> a three-level-deep require...
>
> Is there any method of logging or displaying some kind of call trace as
> a php program is run? That way I could at least tell which functions
> are getting called with which arguments.
>
> Thanks for any help with this.
>
syslog
or you can try to recompile PHP with xdebug <http://www.xdebug.org/>
--Yan
[Back to original message]
|