PHP学习笔记(一):基本语法之标记、空白、和注释,学习笔记基本语法
一、PHP 标记
1、XML风格
复制代码 代码如下:
2、简短风格
复制代码 代码如下:
3、script 风格
复制代码 代码如下:
二、PHP 注释
1、单行注释: // (C++风格)
2、多行注释:/* */ (C风格)
3、单行脚本注释:# (shell风格)
Tips:注释一般写在代码上面
三、PHP 空白
1、空白间隔符
换行(回车)、空格、Tab(制表符)
2、约定习俗
代码片段(2行)、类(2行)、函数(1行)、函数变量与第一条语句(1行)、注释前(1行)

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

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

SublimeText3 Mac version
God-level code editing software (SublimeText3)

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Dreamweaver Mac version
Visual web development tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool