Home  >  Article  >  Backend Development  >  The development history of php language

The development history of php language

angryTom
angryTomOriginal
2019-08-23 09:09:485727browse

The development history of php language

Introduction to PHP website development language

PHP’s unique syntax mixes C, Java, Perl and PHP’s own innovative syntax. It can execute dynamic web pages faster than CGI or Perl. Compared with other programming languages, dynamic pages made with PHP embed programs into HTML documents for execution, and the execution efficiency is much higher than CGI that completely generates HTML tags; PHP can also execute compiled code, and the compilation can Achieve encryption and optimize code running, making the code run faster. PHP has very powerful functions. PHP can realize all CGI functions and supports almost all popular databases and operating systems.

Recommended tutorial: PHP video tutorial

# #PHP development language past and present life

## 

Created by Rasmus Lerdorf in 1994, it just started as a simple program written in Perl language. Counts visitors to his own website. Later it was rewritten in C language, including access to the database. In 1995, the first version was released as Personal Home Page Tools (PHP Tools). Lerdorf wrote some documents introducing this program and released PHP1.0. In this early version, simple functions such as guest book and visitor counter were provided. In the future, more and more website designs use PHP, and there is a strong demand to add some features, such as loop statements and array variables, etc. After new members joined the development team, In mid-1995, PHP2.0 was released . The second version is named PHP/FI (Form Interpreter). PHP/FI added support for mySQL, and has since established PHP's position in dynamic web development. By the end of 1996, there were 15,000 websites using PHP/FI; In mid-1997, the number of websites using PHP/FI exceeded 50,000. In mid-1997, the development plan for the third version was started. The development team joined Zeev Suraski and Andi Gutmans, and the third version was named PHP3. In 2000, PHP4.0 came out, which added many new features.

The abbreviation of PHP was originally Personal Home Page. It was a collection of CGI tools developed in C language by Rasmus Lerdorf in order to maintain personal web pages to replace the Perl program originally used. Initially, these tools were used to display Rasmus Lerdorf's personal resume and count web traffic. 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 pages. Rasmus Lerdorf released PHP/FI to the public on June 8, 1995, hoping to speed up program development and find errors through the community. This released version, named PHP 2, already has some of the prototypes of today's PHP, such as Perl-like variable naming, form processing capabilities, and the ability to be embedded into HTML for execution. The program syntax is also similar to Perl, with more restrictions, but it is simpler and more flexible. In 1997, two Israeli programmers working at Technion IIT: Zeev Suraski and Andi Gutmans, rewrote PHP's parser and became the basis of PHP 3. PHP was also renamed PHP at this time: Hypertext Preprocessor .[5]. After several months of testing, the development team released PHP/FI 2 in November 1997, then began open testing of PHP 3, and finally officially released PHP 3 in June 1998. Zeev Suraski and Andi Gutmans began to rewrite the core of PHP after the release of PHP 3. The parser released in 1999 was called Zend Engine [7]. They also established Zend Technologies in Ramat Gan, Israel, to manage the development of PHP. .

On May 22, 2000, PHP 4 based on Zend Engine 1.0 was officially released, and PHP 5 was released on July 13, 2004. PHP 5 used the second generation of Zend Engine[5]. PHP includes many new features, such as enhanced object-oriented functions, the introduction of PDO (PHP Data Objects, an extension function library for accessing databases), and many performance enhancements. Currently, PHP 4 will no longer be updated to encourage users to move to PHP 5. In 2008, PHP 5 became the only PHP version under development. In the future, PHP 5.3 will add Late static binding and some other functional enhancements. The development of PHP 6 is also in progress. The main improvements include the removal of register_globals, magic quotes and Safe mode.

Characteristics of PHP development language

1. Open source code:

Some PHP source codes are actually available.​

#2. PHP is free.​

Compared with other technologies, PHP itself is free.​

3. The speed of php

The program is developed quickly, runs quickly, and the technology itself is learned quickly. Embedding HTML: Because PHP can embed HTML language, compared with other languages, it is simple to edit, highly practical, and more suitable for beginners.​

4. Strong cross-platform:

Since PHP is a script that runs on the server side, it can run under UNIX, LINUX, and WINDOWS. 5. High efficiency: PHP consumes relatively few system resources.

6. Image processing:

Use PHP to dynamically create images

7. Object-oriented: In php4 and php5, object-oriented aspects have been greatly improved. Now php can be used to develop large-scale commercial programs.

8. Professional focus;

The above is the detailed content of The development history of php language. 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