Does anyone know of a PHP formatter? Preferably online.
There's PEAR:HP_Beautifier, which I use in a Komodo Edit macro.
Eclipse Helios will do it for you, not to mention is awesome for many other things.
tabifier works pretty well and is available for use online:
in the drop down, select "C Style" then paste some php code in and click tabify button
This might formate your php files..
http://codebeautify.org/view/html to this link, paste your code and click on Beautify