Home  >  Article  >  Backend Development  >  PHP language specification, PHP language specification_PHP tutorial

PHP language specification, PHP language specification_PHP tutorial

WBOY
WBOYOriginal
2016-07-12 08:55:39909browse

PHP language specification, PHP language specification

PHP language specification:

1. Variable names in php are case-sensitive, but function names, class names, and method names are not case-sensitive, but it is recommended to be case-sensitive

2. The php code must be written in (php tag), and there must be no space between the opening tag (

3. Each line of PHP code ends with a semicolon, and the semicolon can be omitted in the last line.

4. If a Php file is composed of pure PHP code, the PHP end identifier can be omitted. It is recommended to omit it. If omitted, a semicolon must be added to the last line

5. The php file name cannot contain Chinese characters, nor can the path contain Chinese characters,

6. Php files must be accessed through the server (through domain name)

Example:

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1116379.htmlTechArticlePHP language specification, PHP language specification PHP language specification: 1. Variable names in php are case-sensitive. However, function names, class names, and method names are not case-sensitive, but it is recommended to be case-sensitive...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn