Is there a debugger that I can use with php?

I'm looking for a debugger that I can use with Firefox.  It's a real pain to keep modifying the code to find a missing comma or a syntax error.  Is there a plugin?
Any ideas?
breeze351Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ray PaseurCommented:
With PHP or with Firefox?  PHP is a server-side language that generates HTML, CSS and JS documents for the (Firefox-like) browser.  If you're looking for a client-side debugger, consider using Google's Chrome Dev Tools.  Google 'em and you'll be very glad you did.

On the server side, you might consider Eclipse.  Some of my students like Komodo for its text-editor capabilities combined with its syntax checking.

You might want to take a look at this article.  It's about rapid application development through test-driven techniques.
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_7830-A-Quick-Tour-of-Test-Driven-Development.html
0
Chris GralikeSpecialistCommented:
try aptana studio...

its a great php ide that will highlight errors directly when writing php. Best of all, its a free download ;-)

additionally its loaded with nice to have features that makes php coding a fun task again. (object explorer is an realy nice addition)

rgrds
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

10023Web site maintenance and designCommented:
How much php are you burden with?  When i saw your post...jetbrains  ...was my answer..try their trials...
php storm
They highlite just the type of syntax errors you are referring too...
I would like to get Ray's take on this..
and I agree with Chris aptana is good also
By the way I gain nothing from these recommendations...
0
breeze351Author Commented:
Sorry. I'm looking for a client side tool.
0
GaryCommented:
This is the closest you'll get client side
https://addons.mozilla.org/en-US/firefox/addon/firephp/

since at the client there is no php anymore - it has all been processed and no longer exists.
0
Chris GralikeSpecialistCommented:
Hi Breeze,

Maybe we misunderstood or misinterpret your question.
Could you post a screenshot of an error example you are trying to debug clientside?

rgrds,
0
10023Web site maintenance and designCommented:
You are looking for client side...so i provided an IDE which integrates a client..I can't find any ide that will talk back to me like this ide...and quickly run within the client..
I have run against this ide and take my stand without prejudice
0
breeze351Author Commented:
The error I'm getting is:

Parse error: syntax error, unexpected $end in /home/mrbreeze/public_html/chris/Walk_Map_Display.php on line 817

817 is a blank line at the end of the .php
0
Chris GralikeSpecialistCommented:
your not closing one of your codeblocks.

example where if or class isnt closed with bracket.

class foo {
   if(){
     echo 'then';
}
0
Chris GralikeSpecialistCommented:
you actually do need an ide to debug this. it cant be done clientsided. youll only get the parsing error like the one in your post.

rgrds,
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.