each (explode ()) invalid?
| From: | Albert Chin-A-Young | Date: | Tue, 18 Jul 2000 19:22:25 +0000 |
| Subject: | each (explode ()) invalid? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-7132@lists.php.net to get a copy of this message | ||
Works fine:
$array = explode (" ", $string)
while (list (, $entry) = each ($array)) {
}
This seems to spin:
while (list (, $entry) = each (explode (" ", $string))) {
}
--
albert chin (china@thewrittenword.com)