Skip to main content

Questions about PHP, a widely-used general-purpose scripting language that is especially suited for Web development.

PHP is a widely-used general-purpose scripting language that is especially suited for Web development. The current stable version is 7.0.11, released on September 15, 2016

The online manual is an excellent resource for the language syntax and has an extensive list of the built-in and extension functions. Most extensions can be found in PECL. PEAR contains a plethora of community supplied classes.

PHP is often paired with the MySQL relational database. PHP also includes great database support for PostgreSQL, SQLite, Microsoft SQL Server (API ref), Oracle, IBM DB2 & Cloudscape, Apache Derby and even ODBC. All modern versions of PHP include PDO, a built-in data-access abstraction library with comprehensive connectivity options.

Useful Third-party Code

Frameworks

PHP has a variety of object-oriented web application frameworks, including:

(See: "What PHP framework would you choose for a new application and why?")

Object-Relational Mapping

Popular ORMs for PHP include:

(See: "Good PHP ORM Library?")

Unit Testing

Popular unit testing frameworks for PHP include:

(See: "Best way to implement unit testing in PHP")

Debugger and Frontends/IDEs

Code Language (used for syntax highlighting): lang-php