Table of Contents
PHP执行过程,php执行
Program running
PHP执行过程,php执行
PHP执行过程
任何一种语言的源代码计算机都没有办法直接执行,需要转换成计算机能够识别的机器指令。
PHP也是一门高级语言,也需编译(解释)
PHP的解析过程:
1、请求源代码,进行词法解析,语法解析。
词法解析,主要对源代码中的单词进行一个个的读入,判断,词法解析时,如果有错误,会报错。编译错误。
语法解析,主要判断语法结构是否正确。比如:流程控制结构是否完成。
结果:是可执行的机器代码
2、执行,执行时主要是对内存的操作,执行时也可能会出现错误,此时错误属性执行错误。
结果:纯的html代码。
图解:
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

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

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article
Assassin's Creed Shadows: Seashell Riddle Solution
3 weeks ago
By DDD
What's New in Windows 11 KB5054979 & How to Fix Update Issues
2 weeks ago
By DDD
Where to find the Crane Control Keycard in Atomfall
3 weeks ago
By DDD
Saving in R.E.P.O. Explained (And Save Files)
1 months ago
By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

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

Hot Topics
CakePHP Tutorial
1386
52

