当前位置:网站首页>PHP 基础
PHP 基础
2022-07-28 09:26:00 【MountainYanYL】
1,PHP 八种基本数据类型
int float string boolean // 基础数据类型
array object(对象) //混合类型
resource (资源) NULL // 复杂类型
2, PHP 超全局变量
$_GET
$_POST
$_SERVER
$_FILES
$_COOKIE $_SESSION
$_REQUEST
$_ENV
$GLOBALS
3, PHP 魔术变量
__FILE__
__DIR__
__FUNCTION__
__LINE__
__CLASS__
__METHOD__
4, PHP 魔术方法 – 类的 对象
__construct()
__destroy()
__set($name ,$value)
__get($name)
__call()
__callStatic()
__tostring()
__clone()
__sleep()
__wakeup()
边栏推荐
- Arouter source code analysis (II)
- How to learn so many conceptual things in database? Seeking method
- Express builds a simple local background (1)
- Seeing clearly is more important than walking fast, because you can go far only when you walk right
- View事件分发机制源码解析
- C form application uses object binding DataGridView data binding
- [Guangxi University] information sharing of postgraduate entrance examination and re examination
- 常用工具函数 持续更新
- Leetcode - hashtable topic
- Feign call exception [running, pool size = 10, active threads = 10, queued tasks = 0, completed tasks = n]
猜你喜欢

OpenAtom OpenHarmony分论坛,今天14:00见!附大事记精彩发布

业务可视化-让你的流程图'Run'起来(4.实际业务场景测试)

软件测试与质量学习笔记2----黑盒测试

时序分析41 - 时序预测 TBATS模型

Business visualization - make your flowchart'run'(4. Actual business scenario test)

Real time editor of MATLAB

Go language slice vs array panic runtime error index out of range problem solving

Some problems about CLR GC tuning

Seeing clearly is more important than walking fast, because you can go far only when you walk right
![[Guangxi University] information sharing of postgraduate entrance examination and re examination](/img/25/e35de6b9d803c9a80e0d2816aaad87.jpg)
[Guangxi University] information sharing of postgraduate entrance examination and re examination
随机推荐
业务可视化-让你的流程图'Run'起来(4.实际业务场景测试)
OSS direct upload rails service practice
With frequent data leakage and deletion events, how should enterprises build a security defense line?
使用IdentityServer出现过SameSite Cookie这个问题吗?
IJCAI 2022 | the latest overview of graph structure learning: research progress and future prospects
Introduction to shardingsphere (I)
Analysis of the internal principle of LinkedList
Buckle 376 swing sequence greedy
判断字符串是不是回文
matlab基本操作
力扣376-摆动序列——贪心
Retrofit源码解析
哪些字符串会被FastJson解析为null呢?
Linux操作系统(Centos7)安装MySQL
能够遍历一个文件夹下的所有文件和子文件夹
就这么一个简单的校验,80%的程序员却做不到,更不理解!
[Guangxi University] information sharing of postgraduate entrance examination and re examination
极致通缩和永动机模型,将推动 PlatoFarm 爆发
C countdown tool
Source code analysis of view event distribution mechanism