We recommend you to use an online php code formatting tool.

Source: Internet
Author: User
Tags php online
Some php code has been downloaded from the Internet, or they have edited the php code in the text editor. If you want to edit the code as needed, and we want to read the code, the readability will be greatly reduced. So today I recommend PHPFormatter, an online php code indent and code beautification tool. You can upload code files or

Some php code has been downloaded from the Internet, or they have edited the php code in the text editor. If you want to edit the code as needed, and we want to read the code, the readability will be greatly reduced. So today I recommend PHP Formatter, an online php code indent and code beautification tool. You can upload code files or

Some php code has been downloaded from the Internet, or you have edited the php code in the text editor. If you want to edit the code according to the format, you can also read the code, and the readability will be greatly reduced.

So today I recommend PHP Formatter, an online php code indent and code beautification tool.


You can upload the code file or directly paste the code to the http://phpformatter.com.
Note that the uploaded code file must start with <? Php and?> End.

There are also some additional options for highlighting php syntax, removing comments, removing blank lines, and linking function names to the corresponding php online manual.

Built-in code styles include:

  • K & R style
  • Allman/BSD style
  • Whitesmiths style
  • GNU style
  • PEAR style

It also supports custom styles, which are very powerful.

If you think it is still uncomfortable, then PHP Formatter launched the beta version of the http://beta.phpformatter.com/, the Interface UI is improved, use ajax without any new code conversion, it is not good, it is strongly recommended to add bookmarks.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.