diff --git a/README.md b/README.md index 5c35b65..5875ef0 100644 --- a/README.md +++ b/README.md @@ -4,17 +4,13 @@ This repo contains the WIP PHP Language Specifications. To join the conversation, send a blank email to: -> [standards-subscribe@lists.php.net](mailto:standards-subscribe@lists.php.net) +> [standards+subscribe@lists.php.net](mailto:standards+subscribe@lists.php.net) Bug reports can be filed at: > [https://github.com/php/php-langspec/issues](https://github.com/php/php-langspec/issues) -The upstream url of this repo is: - - git@git.php.net:/php-langspec.git - -It is also mirrored on GitHub: +The upstream URL of this repo is: > [https://github.com/php/php-langspec](https://github.com/php/php-langspec) diff --git a/spec/06-constants.md b/spec/06-constants.md index 0621718..8b23a2a 100644 --- a/spec/06-constants.md +++ b/spec/06-constants.md @@ -73,7 +73,6 @@ Constant Name | Description `E_USER_NOTICE` | `int`; User-generated warning message. This is like an `E_NOTICE`, except that `E_USER_NOTICE` is generated in PHP code by using the library function [`trigger_error`](http://www.php.net/trigger_error). `E_USER_WARNING` | `int`; User-generated warning message. This is like an `E_WARNING`, except that `E_USER_WARNING` is generated in PHP code by using the library function [`trigger_error`](http://www.php.net/trigger_error). `E_WARNING` | `int`; Run-time warnings (non-fatal errors). Execution of the script is not halted. -`E_USER_DEPRECATED` | `int`; User-generated warning message. This is like an `E_DEPRECATED`, except that `E_USER_DEPRECATED` is generated in PHP code by using the library function [`trigger_error`](http://www.php.net/trigger_error). `FALSE` | `bool`; the case-insensitive Boolean value `FALSE`. `INF` | `float`; Infinity `M_1_PI` | `float`; 1/pi diff --git a/spec/08-conversions.md b/spec/08-conversions.md index e93183d..069676d 100644 --- a/spec/08-conversions.md +++ b/spec/08-conversions.md @@ -14,7 +14,7 @@ Conversions to `resource` and `null` types can not be performed. ## Converting to Boolean Type -The [result type] (http://www.php.net/manual/en/language.types.boolean.php#language.types.boolean.casting) is [`bool`](05-types.md#the-boolean-type). +The [result type](http://www.php.net/manual/en/language.types.boolean.php#language.types.boolean.casting) is [`bool`](05-types.md#the-boolean-type). If the source type is `int` or `float`, then if the source value tests equal to 0, the result value is `FALSE`; otherwise, the result value is `TRUE`. diff --git a/spec/11-statements.md b/spec/11-statements.md index d9eb5d1..61af9cc 100644 --- a/spec/11-statements.md +++ b/spec/11-statements.md @@ -314,7 +314,7 @@ else // this else does go with the outer if