mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
I did a mispell in my previous patch for this section. This intends to fix it.
-- Provided by anonymous 83640 (jdomenechbborges@gmail.com) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342576 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
90251a0f83
commit
3f74beaf6b
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ Single digit odd numbers from xrange(): 1 3 5 7 9
|
|||
In PHP 5, a generator could not return a value: doing so would result in a compile
|
||||
error. An empty <command>return</command> statement was valid syntax within
|
||||
a generator and it would terminate the generator. Since PHP 7.0, a generator can
|
||||
return values, which can be retieved using <methodname>Generator::getReturn</methodname>.
|
||||
return values, which can be retrieved using <methodname>Generator::getReturn</methodname>.
|
||||
</para>
|
||||
</note>
|
||||
|
||||
|
|
Loading…
Reference in a new issue