We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
我所知道的重新格式化 PHP 代码的最佳工具是
PHP_Beautifier
PEAR软件包,既免费(开源)又免费(免费)。它有点复杂,有很多选项,而且可能有点慢,但在处理混乱的代码源方面确实做得很好。
The best tool I know to reformat PHP code is the
PHP_Beautifier
PEAR package, which is both free (open source) and free (costs no money).It's a bit complicated, has a lot of options, and is maybe a bit slow, but does really good job on messy code-source.
开源:
http://www.bierkandt.org/beautify/
商业:
http://www.sourceformat.com/php-formatter.htm
Open source:
http://www.bierkandt.org/beautify/
Commercial:
http://www.sourceformat.com/php-formatter.htm
对于快速的东西,您可能需要考虑
http://www.prettyprinter.de/
For something quick you might want to consider
http://www.prettyprinter.de/