- PHP is a general-purpose scripting language used to create web pages that can be included in HTML code, and PHP is the Hypertext Preprocessor, although the abbreviations do not match at all.
- PHP is an open source program, so it is available for free on the Internet. PHP is available on various platforms, including Linux, Unix, Mac OS X, and Microsoft Windows.
- PHP is a programming language and complete server functions that can be used in addition to scripts. (A Web server runs in response to user requests written directly to your web server to dynamically create the HTML page) or to write an application on the desktop.
PHP development began in 1994 when Rasmus Lerdorf wrote several Common Gateway Interface (CGI) C programs to take care of his personal home page. He expanded to work with web forms and communicate with databases and called this use “Personal Homepage / Translator Form” or PHP / FI
You can use PHP / FI to create simple web applications. To speed up bug reporting and code improvement, on June 8, 1995, Lerdorf announced the release of PHP / FI as “PHP Tools (Personal Home Page Tools Version 1.0)” in the Usenet discussion group comp.infosystems.www.authoring.cgi. I’m doing it
This model has the basic features that PHP already has, including variables such as Perl, form control, and HTML embedding. The syntax is similar to Perl, but simpler, has more restrictions and less consistency.
Early PHP was not a new programming language, and Lerdorf naturally grew up thinking: “I don’t know how to stop this. I was not going to write a programming language.
I do not know how to write a programming language. We move on to the next step. “The development team launched the form, and after months of work and beta testing, we officially released PHP / FI 2 in November 1997.”
The fact that PHP was not developed in the first place. But this is an organic development, sometimes the function name is inconsistent, and the order of the parameters is inconsistent. In some cases, the name of the function is chosen so that it matches the low-level library “wrapped” in previous versions of PHP. The length of the function name is used internally as a hash function, so the name is chosen to improve the distribution of values. hashish
Two programmers, Zeev Surasky and Andy Gutmans, published improved results in PHP / FI 2 in 1997 to recreate the core PHP. The current reduction is official. PHP: HyperText preprocessor This is in its definition.) In 1998, the first widely used PHP 3 was released.
PHP 4 was released in May 2000 with a new kernel called Zend Engine 1.0. PHP 4 has improved the speed and stability of PHP 3 in terms of features. PHP 4 has links, boolean types, support for Windows COM, output buffering, many new array functions, advanced object-oriented programming, PCRE libraries, and much more.
The minor release of PHP 4 was mainly for security improvements and was released with the updated Zend Engine in July 2004.