Home>Article>Backend Development> 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!