Tobias Daur wrote:
> Package: php4
> Version: 4.3.10-16
>
> Foreach in php normaly works with and without a given key:
>
> foreach (array_expression as $value)
> statement
> foreach (array_expression as $key => $value)
> statement
>
> But foreach in the package mentioned above doesn't as
Package: php4
Version: 4.3.10-16
Foreach in php normaly works with and without a given key:
foreach (array_expression as $value)
statement
foreach (array_expression as $key => $value)
statement
http://de3.php.net/manual/en/control-structures.foreach.php
In the first case, without $key,
2 matches
Mail list logo