I am making syntax errors that I can't catch b/c I"m just not a detailed person. I am spending hours finding little dumb errors like missed closing braces, a missed comma, an extra underscore, etc....

Could someone point me to a PHP editor that can catch these things?

In Java on Eclipse I made these errors but Eclipse catches them.....but text wrangler, dreamweaver, etc...I see syntax highlighting (all if ...else are in green, all variables are in black)......but that to me is different from the error-checking that I really need, b/c so far php has been an exercise in minutiae which doesn't interest me.

I found a php plugin for Eclipse but I don't know how to use it. I'm purposely making errors to see if it'll throw up an "x" by the line number like it does in Java but nothing. I leave off a brace and it doesn't complain. Eclipse for Java would tell me.

    The PDT Project for Eclipse appears to do some syntax checking. I've only just started playing around with it to see if I like it, but it does a MSWord sort of squiggle underline when it thinks there's an error, and if the file is saved with an error then it marks that line in the left gutter with a red and white "X" symbol. If you mouse over the X or the underlined text, a tooltip pops up with the detected error.

      Besides what Nogdog mentions there are various full on debugging tools such as DBG and XDebug with the necessary plugins to run within Eclipse.

        Write a Reply...