Beautify php, good php formatting tools
http://www.bierkandt.org/beautify/
Http://pear.php.net/package/PHP_Beautifier/download
Recently in the group to new people, their code is not too standard time to see really uncomfortable
This tool is very easy to use, and then the chaotic code is instantly formatted.
You can also quickly batch process @.@ under Linux
OK, here is the topic of this post:
Beautify php formatting symbols, missing the ^= and &= judgment,
In line No. 426 of beautify_php.class.inc, add these two symbols
Add space before chars = < >
if ($i > 0 and! $this->_comment) {
if ($a [$i] = = or $a [$i] = = < OR $a [$i] = = > or $a [$i] = = "*")
and Preg_match ("/([|!| =|.| <|>|-|+|*|/|^|&]+)/", $a [$i-1]) = = 0) {
$this->_outstr = RTrim ($this->_outstr). " ";
}
}
http://www.bkjia.com/PHPjc/319047.html www.bkjia.com true http://www.bkjia.com/PHPjc/319047.html techarticle beautifyphp, very useful php formatting tools http://www.bierkandt.org/beautify/http://pear.php.net/package/PHP_Beautifier/ Download recently in the group to newcomers, their code is not too standardized when ...