In the internal development standard of DrupalPHP 1.2, the preface is often said: "There are no rules, not a square ". Good programming styles and specifications are important to developers and project management personnel. When a software project
Indents and whitespace characters (indenting and whitespace)Use 2 spaces without using the TAB key for code indentation (notepad++, Eclipse and other editors support this configuration);
There should be no whitespace characters at the end of the
This article provides a detailed analysis of PHP encoding specifications. For more information, see
Indenting and Whitespace)Use two spaces instead of the tab key for code indent (notepad ++, Eclipse and other editors support this configuration
This article provides a detailed analysis of PHP encoding specifications. For more information, see
Indenting and Whitespace)Use two spaces instead of the tab key for code indent (notepad ++, Eclipse and other editors support this configuration
Indents and whitespace characters (indenting and whitespace)Code indents using 2 spaces without the TAB key (notepad++, which are supported by editors such as Eclipse);There should be no whitespace characters at the end of the lineshould use \ n
Indenting and Whitespace)Use two spaces instead of the tab key for code indent (notepad ++, Eclipse and Other Editors support this configuration );The end of the line should not contain white space characters\ N (Unix line break) should be used
What the hell is PHP7?
PHP7 is a major version of the PHP programming language and boasts a revolution in the development of Web applications that can be developed and delivered to mobile companies and cloud applications. This version is considered
MethodPHP variablesPHP variables are used to store characters, numbers, arrays, and even object content for use where we need them.Syntax for defining a variable:$ Variable name = value;Example of using variables: The code is as follows:Copy code
In the update list of PHP5.4, there is one sentence: This improves the performance of the Zend Engine and reduces memory usage. how can this problem be solved? Avoid unnecessary Hashtable we know that in PHP, class properties/static
Individuals still like TP more light than other PHP frames (only to Drupal, TP), and easy to get started (struts this action way, for Java programmers). The directory structure is also relatively simple to understand, some of the functions provided
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.