I\'ve been looking for some guidelines on how to layout PHP code. I\'ve found some good references, such as the following:
http://www.dagbladet.no/development/phpcod
Coding standards should be more than how to layout your syntax, but sadly that's what they tend to be in PHP.
FWIW, phc will pretty print your code in the Zend style.