RE: [PHP-DEV] in Operator
| From: | François Laupretre | Date: | Tue, 20 Jan 2015 22:30:27 +0000 |
| Subject: | RE: [PHP-DEV] in Operator | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-80912@lists.php.net to get a copy of this message | ||
> De : Rowan Collins [mailto:rowan.collins@gmail.com]
>
> Given the ability to write foreach ( $foo as $key => $value ), I'm not
> sure adding a variant syntax of for ( $key in $foo ) has that much value
> for PHP.
+1. Useless and ambiguous.