Hi mates, ive know this tools “” to format php source code with possibility to format html code in php page. I think that is a useful tools to order badly formatted code. I think that this tools is shareware, i ask you if you know a freeware appls to obtain the same result.
Here is the link : http://www.semdesigns.com/products/formatters/PHPFormatter.html
There are the PHP Formatter Features
* Formatted code compiles and executes exactly like unformatted code
* Complete syntax check of formatted source code; discovers syntax errors before exposing them on the web
* Specification of indentation step distance
* Specification of arbitrary input tab column positions
* Complete control of location of code block braces { ... }
* Option to indent code blocks
* Option to insert line breaks in expressions at &&, || and ? :
* Option to insert line breaks in expressions at concatenation (".") operations
* Option to format HTML in PHP page
* Output encoding in ASCII, European ASCII, or UNICODE
* A version can optionally obfuscate the code to make it very difficult to understand by scrambling the source.
* PHP4 and PHP5 versions