com php-langspec: Use descriptive mode: spec/11-statements.md
[email protected] (Stanislav Malyshev) Thu, 18 Feb 2016 18:16:58 +0000
| Newsgroups | php.standards.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: 2888f580bd887e6a37e0821beca714843fc095e1 Author: Stanislav Malyshev <[email protected]> Thu, 18 Feb 2016 10:16:58 -0800 Parents: 1935a4b3db0ae797b549870592c60fac6fb74e29 Branches: master Link: http://git.php.net/?p=php-langspec.git;a=commitdiff;h=2888f580bd887e6a37e0821beca714843fc095e1 Log: Use descriptive mode Changed paths: M spec/11-statements.md Diff: diff --git a/spec/11-statements.md b/spec/11-statements.md index 6a11b60..956c059 100644 --- a/spec/11-statements.md +++ b/spec/11-statements.md @@ -904,8 +904,8 @@ If execution flows into the closing brace (`}`) of a function, `return NULL;` is implied. Explicit `return` statements with *expression* given are not permitted within a -function with a `void` [return type](13-functions.md#return-typing) and MUST -cause a compile-time fatal error. +function with a `void` [return type](13-functions.md#return-typing) and cause +a fatal error. A function may have any number of `return` statements, whose returned values may have different types.