PHP的语言规范,PHP语言规范
PHP的语言规范:
1、php中的变量名区分大小写,但是函数名,类名,方法名,不区分大小写,但建议区分大小写
2、php代码必须书写在(php标签),开启标记(
3、php代码每一行以分号结束,最后一行可以省略分号。
4、如果一个Php文件是由纯 php代码组成,那么php结束标识,可以省略,建议省略,如果省略,最后一行必须加分号
5、php文件名不能包含中文,路径中也不能包含中文,
6、Php文件的访问必须能过服务器(通过域名)
示例:

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Dreamweaver CS6
Visual web development tools

SublimeText3 Linux new version
SublimeText3 Linux latest version

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Atom editor mac version download
The most popular open source editor
