A nice “hidden” feature that Textmate has is to check the syntax of the php files you are writing and display a popup with the result.
How to do this?
Open Bundle Editor, search for the PHP bundle, scroll down until you find the Validate syntax command.
Edit the Save setting to Current File.
Now, depending on how you want it, you can alter the Activation setting or not. I set it the same as saving the file, so each time I save the file, it makes me the syntax check.

Close the Bundle Editor.
From now on each time you save a syntax check will be done and a popup will show you the result
The result

That’s all.

2 Responses
[...] you’re a fan of the Textmate editor for the Mac platform, you might want to check out this new post from the cssgallery website. It shows how you can get your favorite editor to check your PHP syntax [...]
[...] http://cssgallery.info/textmate-php-syntax-check/ [...]