Skip to content
PHP

File:PHP-logo.svg · Wikimedia Commons · See Wikimedia Commons

EntityQ59· pop 163· linked from 1,970 articles

Also known as PHP programming language, PHP Hypertext Preprocessor

lenguaje de script centrado en el desarrollo web

AI overview

PHP is a programming language designed primarily for building websites and web applications, created in 1995 and now maintained by the PHP Group. It matters because it has become one of the foundational technologies for web development, powering a significant portion of websites on the internet.

AI-generated from the Wikipedia summary — may contain errors.

Key facts

Programming language.logo
PHP-logo.svg
Programming language.logo size
200px
Programming language.paradigm
Multi-paradigm: imperative, functional, object-oriented, procedural, reflective
Programming language.designer
Rasmus Lerdorf
Programming language.developer
, Zend Technologies,
Programming language.typing
Dynamic, weak, gradual
Programming language.implementations
Zend Engine, HHVM, PeachPie, Quercus, Parrot
Programming language.influenced by
Perl, C, C++, Java, Tcl, JavaScript
Programming language.influenced
Hack, JSP, ASP, React JS
Programming language.programming language
C (primarily; some components in C++)
Programming language.operating system
Unix-like, Windows, macOS, IBM i, OpenVMS, IBM Z
Programming language.license
PHP License
Programming language.wikibooks
PHP Programming
Organization.logo
The PHP Foundation Logo.svg
Organization.founder
Automattic, Laravel, Acquia, Zend, Private Packagist, Symfony, Craft CMS, Tideways, PrestaShop, JetBrains
Organization.website
https://thephp.foundation

via Wikipedia infobox

Source code

PHP is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world. Prebuilt packages and binaries can be used to get up and running fast with PHP. For Windows, the PHP binaries can be obtained from windows.php.net. After extracting the archive the .exe files are ready to use. For a minimal PHP build from Git, you will need autoconf, bison, and re2c. For a default build, you will additionally need libxml2 and libsqlite3. Configure your build. --enable-debug is recommended for development, see ./configure --help for a full list of options. Build PHP. To speed up the build, specify the maximum number of jobs using the -j argument: The number of jobs should usually match the number of available cores, which can be determined using nproc . PHP ships with an extensive test suite, the command make test is used after successful compilation of the sources to run this test suite. Shall run make test with a maximum of 4 concurrent jobs: Generally the maximum number of jobs should not exceed the number of cores available. The qa.php.net site provides more detailed info about testing and quality assurance. Depending on your permissions and prefix, make install may need superuser permissions. Extensions provide additional functionality on top of PHP. PHP consists of many essential bundled extensions. Additional extensions can be found on the PIE Extensions list, and installed with 🥧 PIE, the PHP Installer for Extensions or the deprecated PHP Extension Community Library - PECL. The PHP source code is located in the Git repository at github.com/php/php-src. Contributions are most welcome by forking the repository and sending a pull request. Discussions are done on GitHub, but depending on the topic can also be relayed to the official PHP developer mailing list [email protected]. New features require an RFC and must be accepted by the developers. See Request for comments - RFC and Voting on PHP features for more information on the process. Bug fixes don't require an RFC. If the bug has a GitHub issue, reference it in the commit message using GH-NNNNNN . Use NNNNNN for tickets in the old bugs.php.net bug tracker. For the list of people who've put work into PHP, please see the PHP credits page.

Excerpt from the source-code README · 5,396 chars · not written by Vinony

Wikidata facts

Official website
www.php.net
Image
Codigo php.jpg
Show 13 more facts
software version identifier
8.5.5
file extension
phps
Commons category
PHP
issue tracker URL
bugs.php.net
social media followers
3483
inception
1995-06-08
source code repository URL
github.com/php/php-src
media type
text/x-php
Mastodon instance URL
phpc.social
official wiki URL
wiki.php.net
Sources (15)

via Wikidata · CC0

Article · Español

PHP es un lenguaje de programación de uso general que se adapta especialmente al desarrollo web.​ Fue creado inicialmente por el programador danés-canadiense Rasmus Lerdorf en 1994.​ En la actualidad, la implementación de referencia de PHP es producida por The PHP Group.​ PHP originalmente significaba Personal Home Page (Página personal), pero ahora significa el inicialismo​ recursivo PHP: Hypertext Preprocessor.​ El código PHP suele ser procesado en un servidor web por un intérprete PHP implementado como un módulo, un daemon o como un ejecutable de interfaz de entrada común (CGI). En un servidor web, el resultado del código PHP interpretado y ejecutado —que puede ser cualquier tipo de datos, como el HTML generado o datos de imágenes binarias— formaría la totalidad o parte de una respuesta HTTP. Existen diversos sistemas de plantillas, sistemas de gestión de contenidos y frameworks que pueden emplearse para organizar o facilitar la generación de esa respuesta. Por otra parte, PHP puede utilizarse para muchas tareas de programación fuera del contexto de la web, como aplicaciones gráficas autónomas​ y el control de drones.​ También se puede interpretar y ejecutar un código PHP cualquiera a través de una interfaz de línea de comandos (CLI). El intérprete estándar de PHP, impulsado por Motor Zend, es un software libre publicado bajo Licencia PHP. PHP ha sido ampliamente portado y puede ser desplegado en la mayoría de los servidores web en casi todos los sistemas operativos y plataformas, de forma gratuita. El lenguaje PHP evolucionó sin una especificación formal escrita o un estándar hasta 2014, con la implementación original actuando como el estándar de facto que otras implementaciones intentaban seguir. Desde 2014, se ha trabajado para crear una especificación formal de PHP.​ Para abril de 2020, más de la mitad de los sitios en la web que usaban PHP seguían en la versión descontinuada​ 5.6 o anterior.​ y con la versión 7.0 y 7.1 más del 68%, que no están oficialmente soportadas por The PHP Development Team,​ mientras que el soporte de seguridad es proporcionado por terceros, como Debian (hasta junio de 2020 para PHP 5).​ Adicionalmente, la versión 7.2, la versión con soporte más popular, dejó de recibir actualizaciones de seguridad el 30 de noviembre de 2020.​

Abstract from DBpedia / Wikipedia · CC BY-SA

Gallery (23)

Connections

Categories