mediawiki.org PHP Coding Conventions, mediawiki.orgphp
Http://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP
Assignment as expression to look like a mistake
// No if $a = foo ()) { bar ();}
// Yes $a = foo (); if $a ) { bar ();}
To
Note: This is the code specification from the PHPCMS development document, although the development specification is called PHPCMS, but I think all PHP programming should be so. Write so much php, a lot of coding compared to this specification is a
This shows the encoding specification from the PHPCMS development documentation. although it is called the PHPCMS development specification, I think this applies to all PHP programming. After writing so many PHP codes, many codes may not be able to
Note: This shows the encoding specification from the phpcms development documentation. Although it is called the phpcms development specification, I think this is the case for all PHP programming. After writing so many PHP codes, many codes may not
Http://www.mediawiki.org/wiki/Manual:Coding_conventions/PHPAssignment as expression to look like a mistake// No if $a = foo ()) { bar ();}// Yes $a = foo (); if $a ) { bar ();}To improve code readability, MediaWiki uses a large number of
We tend to be frustrated when we often have to deal with things like manual code testing and deploying such tedious repetitive work, but we've been trying to be efficient. This article will introduce you to the 10 PHP development tools that can help
1. PHPUnit
Testing is a very important part of software development, but many developers just give little time to test it because it is really time-consuming, tedious and error-prone. To solve these problems, the automated test tool
Copyright belongs to the original all ..... .....
Go PHP Coding Specification
In a more detailed explanation of the program in the preparation of the issues to be noted.
But the norm is just a habit, not a compulsion, and you can totally disobey
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.