Home > Backend Development > PHP Tutorial > PHP formatting tool Beautify PHP small BUG_PHP tutorial

PHP formatting tool Beautify PHP small BUG_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-21 15:51:52
Original
1010 people have browsed it

Beautify PHP, a very useful php formatting tool
http://www.bierkandt.org/beautify/
http://pear.php.net/package/PHP_Beautifier/download

Recently there are new people in the group, and it’s really uncomfortable when their code is not standardized

This tool is really easy to use, even the messiest code can be formatted instantly

Throw it under Linux and you can quickly batch process @.@

Okay, the following is the topic of this post:

Beautify When PHP formats symbols, the ^= and &= judgments are omitted,

In line 426 of beautify_php.class.inc, add these two symbols

                                                                                                  i > 0 AND !$ this->_comment) {
                                                         if (($a[$i] == "=" OR $a[$i] == "<" OR $a[$i] == ">" OR $a[$i] == "*")
                                                                                                       /", $a[$i-1]) == 0) {
                                                                    }
                                                                            >

http://www.bkjia.com/PHPjc/319047.html

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/319047.htmlTechArticleBeautifyPHP, a very useful php formatting tool http://www.bierkandt.org/beautify/ http: //pear.php.net/package/PHP_Beautifier/download Recently there are new people in the group and their code is not very standard...
Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template