com php-langspec: Add missing code markdown: spec/php-spec-draft.md

From: Date: Thu, 31 Jul 2014 07:10:35 +0000
Subject: com php-langspec: Add missing code markdown: spec/php-spec-draft.md
Groups: php.standards 
Request: Send a blank email to standards-+get-181@lists.php.net to get a copy of this message
Commit: c9163525159cdbb86d740454dbb7be834e9439f9 Author: mleko <daniel.krol@toxic-software.pl> Thu, 31 Jul 2014 09:10:35 +0200 Parents: 12129ff7d85304c926067abc97a01b5acb274c80 Branches: master Link: http://git.php.net/?p=php-langspec.git;a=commitdiff;h=c9163525159cdbb86d740454dbb7be834e9439f9 Log: Add missing code markdown Changed paths: M spec/php-spec-draft.md Diff: diff --git a/spec/php-spec-draft.md b/spec/php-spec-draft.md index 6f80aa4..f0f74ef 100644 --- a/spec/php-spec-draft.md +++ b/spec/php-spec-draft.md @@ -9448,7 +9448,7 @@ Name | Purpose ---- | ------- current | An implementation of the instance method Iterator::current ([§§](#interface-iterator)). key | An implementation of the instance method Iterator::key ([§§](#interface-iterator)). -next | An implementation of the instance method Iterator::next ([§§](#interface-iterator)). +next | An implementation of the instance method Iterator::next ([§§](#interface-iterator)). rewind | An implementation of the instance method Iterator::rewind ([§§](#interface-iterator)). send | This instance method sends the value designated by $value to the generator as the result of the current [yield](http://us2.php.net/manual/en/ language.generators.syntax.php#control-structures.yield) expression, and resumes execution of the generator. $value is the return value of the [yield](http://us2.php.net/manual/en/language.generators.syntax.php#control-structures.yield) expression the generator is currently at. If the generator is not at a [yield](http://us2.php.net/manual/en/language.generators.syntax.php#control-structures.yield) expression when this method is called, it will first be let to advance to the first [yield](http://us2.php.net/manual/en/language.generators.syntax.php#control-structures.yield) expression before sending the value. This method returns the yielded value. throw | This instance method throws an exception into the generator and resumes execution of the generator. The behavior is as if the current [yield](http://us2.php.net/manual/en/language.generators.syntax.php#control-structures.yield) expression was replaced with throw $exception. If the generator is already closed when this method is invoked, the exception will be thrown in the caller's context instead. This method returns the yielded value.

« previous php.standards (#181) next »