PHP Language Specification

The PHP Language Specification intends to provide a complete and concise definition of the syntax and semantics of the PHP programming language.

Colophon

The PHP Language Specification was initially written in July 2014 by Facebook, Inc.

Facebook has dedicated all copyright to this specification to the public domain worldwide under the CC0 Public Domain Dedication located at http://creativecommons.org/publicdomain/zero/1.0/. This specification is distributed without any warranty.

The PHP Language Specification is maintained at https://github.com/php/php-langspec.

phplang.org is Copyright 2019, PHP Community Foundation, Inc..

The source code files used to generate phplang.org are licensed under the Apache License, Version 2.0. Original content on phplang.org is licensed under the Creative Commons Attribution 4.0 International License.

The source repository for phplang.org is located at https://github.com/phpcommunity/phplang.org.

This documentation was generated on 5 December 2023 at 16:00 UTC from php/php-langspec@4c19272 and phpcommunity/phplang.org@295a059.