Re: Generators in PHP
| From: | Alex Aulbach | Date: | Fri, 27 Jul 2012 05:35:25 +0000 |
| Subject: | Re: Generators in PHP | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-61830@lists.php.net to get a copy of this message | ||
2012/7/26 Bernhard Schussek <bschussek@gmail.com>:
[about doc-blocks]
Fact: Doc blocks are not forced by the language.
Fact: For an IDE an own keyword will help the parser to distinct
faster/easier between "normal" functions and a generator.
Experience: IDEs will have their problems implementing this - think at
first try this isn't implemented with all consequences, so they may
not be helpful to see the difference.
--
Alex Aulbach