[PR][php-langspec][#179] - Implement PHP RFC: Iterable
| From: | noreply@php.net | Date: | Fri, 02 Dec 2016 10:44:57 +0000 |
| Subject: | [PR][php-langspec][#179] - Implement PHP RFC: Iterable | ||
| Groups: | php.standards | ||
| Request: | Send a blank email to standards-+get-1206@lists.php.net to get a copy of this message | ||
You can view the Pull Request on github:
https://github.com/php/php-langspec/pull/179
Comment by nikic:
What we could additionally specify are the variance rules of
iterable (e.g., in a
return type you can replace it with array or Traversable). However, if we
don't specify variance for the rest, it's fine as-is.