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:
Jean-Sebastien Hedde 2017-06-09 12:01:52 +00:00
parent 90251a0f83
commit 3f74beaf6b

View file

@ -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>