At 2003-10-19 13:38 +0100, Wez Furlong wrote:
>> It wouldn't surprise me when the foreach syntax would be
>> deprecated soon...
>
>If you're trying to humourous, I suggest that you first earn
>some karma by contributing some real code to the PHP project.
>
>Your suggestion will not be implemented b
> It wouldn't surprise me when the foreach syntax would be
> deprecated soon...
If you're trying to humourous, I suggest that you first earn
some karma by contributing some real code to the PHP project.
Your suggestion will not be implemented because it is
redundant and confusing to have yet anot
Hi all,
I'd like to propose an alternative for the foreach statement.
Of course the construct:
while (list($i,$d)=each($A))
is much harder to read than:
foreach ($A as $i=>$d)
and although I had doubts at first I'm currently rewriting
all my old scripts to the new format whenever I encounter