Home > Backend Development > PHP Tutorial > What is the bottom layer of php written in?

What is the bottom layer of php written in?

青灯夜游
Release: 2023-04-06 17:44:02
Original
4252 people have browsed it

What is the bottom layer of php written in?

PHP was originally created by Rasmus Lerdorf in 1994. It started as a simple program written in Perl language to maintain personal web pages and count visitors to his own website. Later it was rewritten in C language, including access to the database. He integrated these programs with some form interpreters and called them PHP/FI. PHP/FI can be connected to the database to generate simple dynamic web programs.

php's zend engine is entirely implemented in pure C language, and the zend engine is the core part of php. It compiles php code into executable opcode processing and implements corresponding processing methods. Basic data structures (such as hashtable, oo), memory allocation and management, and providing corresponding API methods for external calls are the core of PHP.

PHP mixes the characteristics of C language, Java and Perl; its unique syntax mixes C, Java, Perl and PHP's own syntax. If you have learned any of them, you will definitely be like a duck in water when you come to learn PHP.

The above is the detailed content of What is the bottom layer of php written in?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template