Although the PHP scripting language has been around since 1995 and is a staple of Web development, it does not actually have a formal language specification — just extensive user documentation. But that is all set to change.
Led by Facebook, a draft specification has been posted on GitHub to provide a complete definition of PHP language semantics and syntax.
via PHP gets its own formal language specification | Php web – InfoWorld.