PHP Manual
Your complete reference for PHP programming language
Language Reference
Types, variables, functions, classes, namespaces, and more — the complete PHP language reference.
Function Reference
All built-in PHP functions — arrays, strings, files, databases, cryptography, and more.
Extensions
PHP extensions and their APIs — PDO, cURL, GD, XML, JSON, and hundreds more.
Security
Best practices for secure PHP applications — SQL injection, XSS, CSRF, and more.
Migration Guides
Upgrade guides between PHP versions — learn about new features and breaking changes.
FAQs
Frequently asked questions about PHP — installation, configuration, and common problems.