Home >Backend Development >PHP Tutorial >怎么样的学习php内核?

怎么样的学习php内核?

WBOY
WBOYOriginal
2016-06-06 20:48:531191browse

怎么样的学习php内核?

回复内容:

怎么样的学习php内核?

开源文档 《深入PHP内核》http://www.php-internals.com/

1.首先最基本的应该搞清楚一个http请求的流程,以apache为例,启动apache的时候mod-php怎么初始化PHP,怎么初始化ZEND引擎,apache加载mod_php与SAPI之间的关系
2.PHP的执行,比如词法分析,语法分析,生成opcode的过程
3.变量和函数的内部结构,类和面向对象的实现
4.内存管理(垃圾回收,写时复制等)
5.底层错误与异常的处理
6.核心的zend虚拟机

Statement:
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