[PHP series] PHP recommended standard PSR-1, PSR-2, psr-1psr-2
At least the code. When I first went to college, the teacher taught us to write the code strictly and properly. The code is like a person, and the work is complete. The canonicalized
Psr
PHP Standard recommendation shorthand, it should be called PSRs, that is, the series of recommended standards: the current adoption of the specification has PSR-0 (autoloading), PSR-1 (Basic Coding) , PSR-2 (Coding Style Guide), PSR-3 (Logger
What are the contents of the PSR Series specifications of PHP, what are the PHPPSR specifications?
Psr
PHP Standard recommendation shorthand, it should be called PSRs, that is, the series of recommended standards: the current adoption of the
Transferred from: http://www.cnblogs.com/x3d/p/php-psr-standards.htmlPsrPHP Standard recommendation shorthand, it should be called PSRs, that is, the series of recommended standards: the current adoption of the specification has PSR-0 (autoloading),
PSR Specification
PSR Specification
Introduction: PSR is a shorthand for PHP standard recommendations, PHP specifications developed by the PHP FIG organization, is the practice of PHP development standards. The purpose of these specifications is to:
The number of PHP components and frameworks is incredibly large. There are mega-frameworks like Symfony and Laravel, as well as miniature frameworks like Silex and slim. There are even traditional frameworks that have existed long before modern PHP
Fig organization in the development of PHP-related specifications, referred to as PSR. There are now 4 code specifications, the recent time to translate into the Chinese version. Suggest doing PHP students are concerned about.Document Warehouse
About PHP, we have a lot of misunderstanding, but in fact, modern PHP is a door regardless of development efficiency or execution efficiency is quite high programming language. On the various aspects of modern PHP features, you can refer to the
PHP-FIGPSR-1 # basic coding standards this standard contains a standard encoding element for ensuring the interoperability of PHP shared code.
The key words "MUST", "must not", "REQUIRED needs", "SHALL will", "shall not will NOT", "shoshould ",
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.