我知道Java(JLS)有一个官方文档,我想知道PHP语言是否也是如此。我在 PHP 手册上找到了“语言引用”部分,但它看起来没有 JLS 详细。
问题是我对 PHP 有很好的实践知识,但我对幕后真正发生的事情一无所知。
如果没有任何官方文档,你能推荐一些好书给我看吗?
最佳答案
An initial draft specification对于 PHP 语言现在是 announced .规范介绍如下:
This specification is intended to provide a complete and concise definition of the syntax and semantics of the PHP language, suitable for use by the following:
- Implementers of a PHP compiler
- Implementers of a test suite for the PHP language
- Programmers writing PHP code
For now, the runtime library has been excluded, as that is documented at www.php.net. As such, all forward references to library facilities have placeholders of the form (§xx).
关于PHP语言规范?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4680119/