Home > Article > Backend Development > PHP language specification, PHP language specification_PHP tutorial
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: