RE: [PHP-DEV] re: foreach behavior on a non-array
| From: | Mike Robinson | Date: | Sat, 12 Feb 2000 00:19:41 +0000 |
| Subject: | RE: [PHP-DEV] re: foreach behavior on a non-array | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-15414@lists.php.net to get a copy of this message | ||
> OK, someone in the office pointed out that it's OK to do this:
>
> $list = array();
As long as it wasn't the janitor, you should be ok.
:)
(Sorry, couldn't resist)
Regards
Mike Robinson