Thread: PHP Checker?

    #1
  1. No Profile Picture
    cisk
    Guest
    Devshed Newbie (0 - 499 posts)
    Newbie :P

    IS there any program out there that can check my syntax of my php code while i'm writing it? Not logic errors but just errors with the code =)

    Thanks

    Cisk
  2. #2
  3. No Profile Picture
    Ulf Wendel
    Guest
    Devshed Newbie (0 - 499 posts)
    I think yes. Please check the mailing list archive on php.net.

    BTW does your editor support php color coding? If not go for one (acchive on php.net!). It makes sense...

    Ulf

  4. #3
  5. No Profile Picture
    miguelgarcia
    Guest
    Devshed Newbie (0 - 499 posts)
    Homesite 4.0 by Allaire does color code php code. Like comments, reserved words etc...
  6. #4
  7. No Profile Picture
    cisk
    Guest
    Devshed Newbie (0 - 499 posts)
    I downloaded Homesite4.01 and it doesn't have anything about php in it. I even searched for it in help...

    it does have vbscript and javascript in it tho.. pretty handy

    Am i missing something?

    Cisk
  8. #5
  9. No Profile Picture
    markdrayton
    Guest
    Devshed Newbie (0 - 499 posts)
    vim will colour code almost anything under the sun...
  10. #6
  11. No Profile Picture
    jpenix
    Guest
    Devshed Newbie (0 - 499 posts)
    Yes, you're missing something in Homesite.

    If you go to Options-Settings and the Color Coding tab, you'll see an entry for PHP. Any files that have the extensions listed under PHP will be color coded accordingly. (New documents won't be colored until you save them with the proper extension... otherwise HomeSite has no way of knowing).

    You can of course add to the list of extensions if you don't use the standard ones.

    If you go to http://hshelp.com/ you'll find some more PHP support files that integrate with Homesite and add tag definitions, etc.

Similar Threads

  1. Replies: 2
    Last Post: August 18th, 2004, 10:45 PM
  2. Replies: 4
    Last Post: January 28th, 2004, 08:29 AM
  3. PHP with UnixODBC
    By coder4hire in forum PHP Development
    Replies: 2
    Last Post: January 20th, 2004, 01:14 PM
  4. Passing string from PHP to Javascript
    By ka8oad in forum JavaScript Development
    Replies: 4
    Last Post: January 17th, 2004, 03:12 PM
  5. UnixODBC + PHP + Apache + Empress
    By coder4hire in forum Database Management
    Replies: 0
    Last Post: January 15th, 2004, 01:41 PM

IMN logo majestic logo threadwatch logo seochat tools logo