Bug#332735: [php-maint] Bug#332735: php4: foreach needs $key to work properly

2005-10-08 Thread Adam Conrad
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

Bug#332735: php4: foreach needs $key to work properly

2005-10-08 Thread Tobias Daur
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,