A popular general-purpose scripting language that is especially suited to web development
open sourceBSD-3-Clausefree
PHP is a widely used open source, general-purpose scripting language that is especially suited to web development and can be embedded in HTML. This listing covers the language and its reference implementation (php-src, the Zend Engine), which caches compiled script bytecode in shared memory with OPcache, has an optional JIT compiler, and manages memory with reference counting and a cycle collector. It is dynamically typed, with optional type declarations. Each release branch gets two years of active support and two more of security fixes. It is under the Modified BSD License (BSD-3-Clause), which PHP also calls the PHP License version 4.
Libraries for PHP
View 28 more
Browse all of them: 31 libraries, 11 frameworks, 115 APIs.
Problems it solves
- a language for building websites that runs on almost any cheap web host
- add server-side logic to my HTML pages
- build a web application with a mature framework and lots of hosting options
- a scripting language for web backends that's easy to deploy by copying files
- write a WordPress plugin or theme
- a language with a huge pool of web developers I can hire
- write a quick server-side form handler without setting up a build step
Features
- embeddable in HTML
- dynamic typing with optional type declarations
- OPcache bytecode cache bundled
- optional JIT compiler
- command-line usage
- fibers, generators, enumerations and attributes
- 2 years of active support plus 2 years of security fixes per release branch