PHP |
| Paradigm | imperative,object-oriented,Procedural,reflective |
|---|
| Designed by | Rasmus Lerdorf |
|---|
| Developer | The PHP Group |
|---|
| First appeared | 1995;31 years ago (1995)[1] |
|---|
| Stable release | 7.3.6 / May 30, 2019;6 years ago (2019-05-30)[2] |
|---|
| Typing discipline | Dynamic,weak |
|---|
| Implementation language | C |
|---|
| OS | Cross-platform |
|---|
| License | PHP License[3] |
|---|
| Filename extensions | .php,.phtml,.php4,.php3,.php5,.php7,.phps,.php-s,.phar |
|---|
| Website | www.php.net |
|---|
| Majorimplementations |
|---|
| Zend Engine,Phalanger,Quercus,Project Zero,HHVM |
| Influenced by |
|---|
| C,C++,Java,Perl,Tcl[1] |
| Influenced |
|---|
| Hack |
|
PHP (Hypertext Preprocessor; used to stand forPersonal Home Page) is ascripting language that helps people makeweb pages more interactive by allowing them to do things that can't be done with technologies running on the visitors computer. PHP code is run on theweb server (the website's computer). It is called apreprocessor because it builds the information before sending it to the computer that visits the web page.
A website programmed with PHP can have pages that are password protected. A website without PHP or similar technologies can't do this, as the visitor can find a way to access the page. For example, by finding where the password is stored. Standard PHPfile extensions are (but not only): .php, .php3, and .phtml, but a web server can be set up to use any extension.[4][5]
Its structure was influenced by many languages likeC,Perl,Java,C++, and evenPython. It is considered to befree software by theFree Software Foundation.[6]
Multiple PHP frameworks are available today, such as Laravel, Symfony, CodeIgniter, and Phalcon, which offer developers a more structured approach via pre-built components and the ability to streamline the process. Laravel is currently the only PHP framework used in the development of more than 1,723,068 websites globally.[7]