Mailinglisten-Archive |
Arash Yalpani wrote:
> while ($obj = each($obj_arr)) {
> $o = (Object)$obj[1];
> $o->do_something();
> }
>
> Irgendwelche Vorschläge? Danke schonmal,
Probiers hiermit:
while (list(,$obj) = each($obj_arr)) {
$o = (Object)$obj[1];
$o->do_something();
}
http://php.net/each hätte vielleicht auch geholfen.
Gesundheit
Wagner
--
Assumption is the mother of all fuck-ups.
php::bar PHP Wiki - Listenarchive