Blogger Information
Blog 31
fans 0
comment 0
visits 14273
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
php运行原理,变量类型
木子木杉
Original
320 people have browsed it

运行原理

  1. requeat 动态资源

客户端<——->服务器端<——->php解释器<——->myaql数据库服务器
response

变量类型

4种标量类型 整型 字符串 布尔型 浮点型
2种复合型 数组 对象
2种特殊类型 resource null
整型 $int = 32;
字符串 定义在单引号、双引号、定界符中 $password = "qnfjklg123";
布尔型 $boolean = true;
浮点型 $float = 12.12;
数组
$user = ['id' => 1, 'name' => '李四', 'email' => '123456789@qq.com'];
resource

  1. $handle = fopen('log.log','w')
  2. var_dump($handle);

null
$avatar = null;

Correcting teacher:PHPzPHPz

Correction status:qualified

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post