标签: php loops
I need some help to replace the deprecated each() function. I have the following two lines from an old project:
while (list($key,) = each($image_types)) { ... } while(list(, $line) = each($lines)) { ... }