Re: foreach() syntax
| From: | Andi Gutmans | Date: | Thu, 08 Apr 1999 18:17:04 +0000 |
| Subject: | Re: foreach() syntax | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-24@lists.php.net to get a copy of this message | ||
Because it's problematic parsing wise and it can't be done, without doing
some real ugly hacks.
Andi
At 01:49 08/04/99 -0400, Jim Winstead wrote:
>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
>>
>
>
---
Andi Gutmans <andi@zend.com>
ICQ: 1568297
PGP: finger andi@vipe.technion.ac.il