File:PHP-logo.svg · Wikimedia Commons · See Wikimedia Commons
Also known as PHP programming language, PHP Hypertext Preprocessor
PHP is a general-purpose scripting language geared towards web development. It was created by Danish-Canadian programmer Rasmus Lerdorf in 1993 and released in 1995. The PHP reference implementation is now produced by the PHP Group. PHP was originally an abbreviation of Personal Home Page, but it now stands for the recursive backronym PHP: Hypertext Preprocessor.
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
- Stack Exchange tag
- webmasters.stackexchange.com/tags/php
- 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
- web feed URL
- www.php.net/feed.atom
- Mastodon instance URL
- phpc.social
- official wiki URL
- wiki.php.net
- P8168
- Eric Lange
Sources (15)
via Wikidata · CC0
~50 min read
Article
31 sectionsContents
- History
- Early history (1993 to 1997)
- PHP 3 and 4 (1998 to 2004)
- Early PHP 5 (2004 to 2006)
- <span id="PHP6-UNICODE">PHP 6 and Unicode</span>
- Later PHP 5 (2009 to 2014)
- PHP 7.x (2015 to 2019)
- PHP 8.x (2020 onwards)
- Release history
- Prevalence of outdated versions
- <span id="ELEPHPANT">Mascot</span>
- Syntax
- Data types
- Functions
- PHP objects
- Example
- Implementations
- Licensing
- Development and community
- The PHP Foundation
- <span id=PHPFPM>Installation and configuration</span>
- Use
- Popularity and usage statistics
- <span id="REGISTER-GLOBALS">Security</span>
- Cryptographic security
- Long-term support
- See also
- Notes
- References
- Further reading
- External links
PHP is a general-purpose scripting language geared towards web development. It was created by Danish-Canadian programmer Rasmus Lerdorf in 1993 and released in 1995. The PHP reference implementation is now produced by the PHP Group. PHP was originally an abbreviation of Personal Home Page, but it now stands for the recursive backronym PHP: Hypertext Preprocessor.
PHP code is usually processed on a web server by a PHP interpreter implemented as a module, a daemon or a Common Gateway Interface (CGI) executable. On a web server, the result of the interpreted and executed PHP codewhich may be any type of data, such as generated HTML or binary image datacan form the whole or part of an HTTP response. Various web template systems, web content management systems, and web frameworks exist that can be employed to orchestrate or facilitate the generation of that response. Additionally, PHP can be used for programming tasks outside the web context, though non-web uses are rare. PHP code can also be directly executed from the command line.
Gallery (23)
Available in 121 languages
- Español
- Français
- Deutsch
- 中文
- 日本語
- Русский
- Português
- Italiano
- العربية
- हिन्दी
- Afrikaans
- Albanian
- Albanian
- Aragonese
- Armenian
- Asturian
- Azerbaijani
- Bahasa Indonesia
Show 102 more
- Bangla
- Basque
- bat_smg
- Bavarian
- be_x_old
- Belarusian
- Bhojpuri
- Bosnian
- Breton
- Bulgarian
- Burmese
- Catalan
- cdo
- Cebuano
- Central Kurdish
- Chechen
- Croatian
- Czech
- Danish
- Esperanto
- Estonian
- Filipino
- Finnish
- fiu_vro
- Galician
- Georgian
- Greek
- Gujarati
- Haitian Creole
- Hakka Chinese
- Hebrew
- Hungarian
- Icelandic
- Ido
- Interlingua
- Irish
- Javanese
- Kabyle
- Kannada
- Kara-Kalpak
- Kazakh
- Khmer
- Kurdish
- Kyrgyz
- Latin
- Latvian
- Lingua Franca Nova
- Lithuanian
- Lombard
- Low German
- Luxembourgish
- Macedonian
- Madurese
- Maithili
- Malagasy
- Malay
- Malayalam
- Marathi
- Minangkabau
- Mongolian
- Nederlands
- Nepali
- Newari
- Norwegian
- Norwegian Nynorsk
- Occitan
- Piedmontese
- Polski
- Quechua
- rki
- Romanian
- Sanskrit
- Serbian
- Serbian (Latin)
- simple
- Sinhala
- Slovak
- Slovenian
- Svenska
- Swahili
- Tajik
- Tamil
- Tiếng Việt
- Toki Pona
- Türkçe
- Turkmen
- Ukrainian
- Urdu
- Uzbek
- Waray
- Welsh
- West Flemish
- Western Panjabi
- Wolof
- Wu Chinese
- Yakut
- Yiddish
- zh_min_nan
- zh_yue
- فارسی
- ไทย
- 한국어
via Wikidata sitelinks · CC0