PHP development coding standards

Read(48341) update time(2022-04-15)

"PHP Development Coding Specifications" contains detailed PHP coding specifications such as PHP code specifications and PHP annotation specifications. It is mainly to better improve the work efficiency of PHP developers, ensure the effectiveness and rationality of development, and improve the reliability of program code. Readability and reusability, the value of this specification is that we all follow this coding style!


"PHP Development Coding Specifications" is specified to better improve the work efficiency of the technical department, ensure the effectiveness and rationality of development, and maximize the readability and reusability of program code. specification. The development team can supplement or reduce this specification based on its actual situation.

Tips: Before learning and understanding PHP coding specifications, you should have a grasp of "PHP Tutorial".

PHP Development

  • PHP was created by Rasmus Lerdorf in 1994. It was just a simple Perl tool made by Rasmus Lerdorf to maintain personal web pages. Programs written in the language.

  • The first version was released in 1995 as Personal Home Page Tools (PHP Tools). Lerdorf wrote some documents introducing the program. And PHP1.0 was released!

  • By the end of 1996, there were 15,000 websites using PHP/FI.

  • In 1997, two Israeli programmers working at Technion IIT: Zeev Suraski and Andi Gutmans, rewrote the PHP parser and became the basis of PHP 3.

  • On June 20, 2013, the PHP development team is proud to announce the launch of PHP 5.5.0. This release contains a lot of new features and bug fixes. One thing that developers need to pay special attention to is that Windows XP and 2003 systems are no longer supported.

  • On May 22, 2000, PHP 4 based on Zend Engine 1.0 was officially released, and PHP 5 was released on July 13, 2004.

  • On October 16, 2014, the PHP development team announced that PHP 5.6.2 is available. Four security-related bugs are fixed in this release, including fixes for CVE-2014-3668, CVE-2014-3669 and CVE-2014-3670. All PHP 5.6 users are encouraged to upgrade to this version.

PHP Application

PHP is a language with a wide range of applications, especially in network program development. Generally speaking, PHP is mostly run on the server side. By running PHP code, web pages are generated for browsers to read. In addition, it can also be used to develop command-line scripts and client-side GUI applications. PHP can run on many different servers, operating systems, and platforms, and can also be combined with many database systems. There is no cost to use PHP. The official organization PHP Group provides complete program source code, allowing users to modify, compile, and expand it for use.

Tips: Our "PHP Development Coding Standards" tutorial will help PHP developers better improve their work efficiency. If you have any questions, please go to the PHP Chinese website PHP CommunityAsk your questions and enthusiastic netizens will answer them for you.

Other PHP related learning reference resources

In addition to the knowledge expansion on the right side of this page, the following resources are also selected for everyone