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

What language is used to write php?

青灯夜游
Release: 2023-04-06 13:38:02
Original
89984 people have browsed it

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!

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