PHP语言规范?

标签 php specifications

我知道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).

另见 the latest version of the draft .

关于PHP语言规范?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4680119/

相关文章:

ruby-on-rails - 在 rspec 测试中调用 Rails.application.routes.recognize_path 与 Rails 3 中的任何路由都不匹配

testing - 我如何促进和鼓励实现我的规范?

javascript - 默认参数值未定义;这是一个 JavaScript 错误吗?

javascript - 如何将 JSON 数组集成到 JavaScript 文件中?

javascript - 更改用 php/mysql 创建的表行宽度的最佳方法?

php - 使用 Laravel 在 PostgreSQL 中插入空白数据

java - 具有 Sum 函数的 Spring 规范

php - PDO + PHP lastInsertId() 问题

javascript - 如何使复选框显示在联系表单中

java - 如何使用 JPA 中的规范连接多个列?