Home >Backend Development >PHP Tutorial >What language is used to write php?

What language is used to write php?

青灯夜游
青灯夜游Original
2019-05-07 09:26:3290016browse

PHP is a general open source scripting language for creating dynamic websites based on the server. It is mainly suitable for the field of web development. The PHP language is very popular nowadays, so what language is the underlying language of such a popular language written?

What language is used to write php?

PHP was originally created by Rasmus Lerdorf in 1994. It was just a simple program written in Perl language to maintain personal web pages and statistics on his own website. Visitors. 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 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.

It is generally recommended to learn C language first, and then learn PHP. On the basis of the original C, plus the basics of data structure, it will be very simple to learn PHP later. As long as you master the syntax of PHP, you can start preliminary web development.

The above is the detailed content of What language is used to write php?. For more information, please follow other related articles on the PHP Chinese website!

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