PHP Manual

The PHP Manual is the official documentation for the PHP language. It covers the language syntax, all built-in functions, extensions, and ChangeLog entries for each PHP version.

The manual is collaboratively maintained and translated into many languages. Each function page includes a description, a signature with parameter and return types, a changelog, usage notes, and user-contributed comments that often provide practical examples and gotchas.

The manual is available offline through the downloadable many HTML files or single-page HTML formats, and is integrated into most PHP IDEs as hover documentation. The URL scheme php.net/function-name provides a shortcut to any function page.

<?php

// Access the manual shortcut from your browser:
// https://www.php.net/array_map
// https://www.php.net/str_contains

// Many editors show inline manual excerpts when hovering over a function name.

?>

Documentation

See also PHP Manual and Downloading the manual.

Related : PHP, Hypertext Preprocessor (PHP), Documentation, PHPdoc, PHP Native Function, PHP Editor