Re: foreach() syntax
| From: | Jim Winstead | Date: | Thu, 08 Apr 1999 05:49:55 +0000 |
| Subject: | Re: foreach() syntax | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11@lists.php.net to get a copy of this message | ||
Why? Seems like being consistent with perl and Javascript would be
a good thing.
Jim
On Apr 08, Andi Gutmans wrote:
> Hi,
>
> The foreach() syntax in ZEND_CHANGES was incorrect. The following is its
> syntax:
> foreach(array_expr as $val) statement
> or:
> foreach(array_expr as $key => $val) statement
>
> Andi
> ---
> Andi Gutmans <andi@zend.com>
> ICQ: 1568297
> PGP: finger andi@vipe.technion.ac.il
>