|
Posted by naixn on 12/08/06 21:43
CptDondo wrote :
> 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
Why recompile ? It works well as an extension :p
Use http://kcachegrind.sf.net/ to read xdebug generated files :)
--
Naixn
http://fma-fr.net
Navigation:
[Reply to this message]
|