The PHP language has been around for over 20 years and is clearly one of the most popular programming languages in the world. PHP is definitely the lingua-franca of the internet for server-side web programming.

While there is extensive user-documentation, the PHP language has always been missing a language specification. That is not to say a specification hasn’t been thought about or discussed. It is just that one has never really come to fruition.

The Chinese philosopher Lao Tzu stated “A journey of a thousand miles begins with a single step”. We are excited to announce the initial draft of a specification for PHP.

The existence of the specification was announced by Sara at OSCON 2014. The feedback to the announcement and the sample chapter was overwhelmingly positive.

And now, the entirety of the initial draft specification has been released to the world. It is hosted on a git repository at php.net and this repo will be mirrored to GitHub. Please have a read through the specification. Provide your pull requests and feedback. We hope and expect that this specification will evolve over time with the help of everyone who cares about the PHP language.

Thank you to the PHP group for taking the mantle and providing the infrastructure for hosting the further development of the specification and helping shepherd this as a truly community-owned and developed project.

Special thanks must be given to Rex Jaeschke, who lead the actual writing of the specification, and Drew Paroski, who was pivotal in the review effort and helped Rex shape the spec into its initial form. Thanks to Paul Tarjan, Sara Golemon, Fred Emmott, Josh Watzman and the rest of the HHVM team for their awesome contributions and feedback. And thank you to Stanislav Malyshev and Nikita Popov, who had an early look at the specification and provided valuable feedback.

Language specifications may not be flashiest things in the world of programming, but, in my humble opinion, this is an exciting day for the PHP language. Read on!!

Comments