php's interpreter is written in c. The interpreter is equivalent to a weak compiler, but php itself is not based on some underlying language.
PHP is a scripting language executed on the server side, similar to C language, and is a commonly used website programming language. It drives more than 200 million websites around the world, and more than 81.7% of the world's public websites use PHP on the server side. PHP's commonly used data structures are all built-in. It is convenient and simple to use, not complicated at all, and its expression ability is quite flexible.
Related recommendations: "php Getting Started Tutorial"
The core of the PHP language is written in C language.
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 and basic data. Structure (such as hashtable, oo), memory allocation and management, and providing corresponding API methods for external calls are the core of PHP.
The above is the detailed content of Is php based on python?. For more information, please follow other related articles on the PHP Chinese website!