Home > php教程 > php手册 > php学习基础

php学习基础

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 19:57:55
Original
1123 people have browsed it

echo语句输出 empty()可用于用户名验证 php标记可放html任何位置 marquee动态移动 style = width:100px;height:100px;background:red php是区分大小写的 $a =$b; 传址赋方式 常量只认识初次申明,不可改变 define(); 系统常量 M_PI,PHP_OS,PHP_VERSION 魔术

echo语句输出

empty()可用于用户名验证

php标记可放html任何位置

marquee动态移动

style = "width:100px;height:100px;background:red"
php是区分大小写的

 

$a =&$b;

传址赋值方式

常量只认识初次申明,不可改变

define();

系统常量 M_PI,PHP_OS,PHP_VERSION

 

魔术常量:不同环境,不同值(两个下划线,不是一个)

__LINE__         __FILE__    __FUNCTION__   __CLASS__

__METHOD__

 

isset变量检测

defined()常量检测

 

final标记方法不能被子类重载

final标记类不能被继承

静态方法不支持this,因为没有绑定到任何对象。

抽象的方法必是抽象的类

 

$str{offset} 访问,读取和写入该位置字符

include可以使用包含文件里的变量

Related labels:
source:php.cn
Statement of this Website
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template