BBEditing PHP

John Gruber has published what is quite possibly the single most useful Applescript I could wish for: PHP Syntax Checking in BBEdit.

It makes use of the fact that the version of PHP that ships with Panther has a command line tool. By connecting the current BBEdit document with that command line tool, the script provides a one-click way of syntax checking and even highlights the line when an error is found.

For the last two months I’ve been doing almost nothing but writing PHP in BBEdit. With this Applescript I’ll be able to reduce the amount of application switching I need to do. Now when I switch to Safari to refresh a PHP page I can do it secure in the knowledge that there won’t be any pesky parse errors cropping up.

BBEdit: now it really doesn’t suck

Have you published a response to this? :

Previously on this day

18 years ago I wrote The Web Standards Project: Fighting for Standards in our Browsers

The WaSP is bowing out.

18 years ago I wrote Pornolize

There’s a website where you can type in a URL and see the "pornolized" version of any site.