debugging PHP code

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
Emil.Furniga
Forum Newbie
Posts: 1
Joined: Wed Oct 23, 2002 12:49 am

debugging PHP code

Post by Emil.Furniga »

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.
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

vote for IDE's

Post by phpScott »

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.
Post Reply