[PHP-DEV] PHP 4.0 Bug #3462 Updated: foreach behavior on a non-array From: Bug Database (php-dev <email protected>)
Date: 07/31/00

ID: 3462
Updated by: waldschrott
Reported By: leon <email protected>
Status: Analyzed
Bug Type: Feature/Change Request
Assigned To:
Comments:

Why donīt you let your cache function return an empty array?
I think you should take care about passing foreach() the
right types...

Anyway PHPs handling of conversion unfortunately differs a
lot from function to function and statement to statement.
Thus I really donīt know what to do with this one Iīll mark
it analyzed.

Full Bug description available at: http://bugs.php.net/?id=3462

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>