what tools could I use in order to debug some PHP code that is pretty error-prone - I use a recursive class in there and I suspect it enters an infinite loop and after about 10 seconds of running, the script ends with a 'segmentation fault' error
so I could use some tools for watching variables, step-by-step running, etc
I have read on the options of php (php -h) but I think they aren't of much help !
please suggest me some way of debugging !
Thank you !!
Emil.
debugging PHP code
Moderator: General Moderators
vote for IDE's
try going to this discussion
viewtopic.php?t=3495
as it talks about some of the IDE's that people use including debuggers which will allow you to step through your code to see what is happening.
phpScott
my favourite is PHPed by nuspher but it will cost a few US$'s not much but it is worth it in my opinion.
viewtopic.php?t=3495
as it talks about some of the IDE's that people use including debuggers which will allow you to step through your code to see what is happening.
phpScott
my favourite is PHPed by nuspher but it will cost a few US$'s not much but it is worth it in my opinion.