Re: foreach behavior and error suppression (@foo)

From: Date: Tue, 03 Jul 2001 08:36:50 +0000
Subject: Re: foreach behavior and error suppression (@foo)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-58778@lists.php.net to get a copy of this message
DB>> There are several open feature requests in the bug system to DB>> allow the use of @ to suppress warnings when using a non array DB>> with foreach. What's the status of this? Is this a "hell no!", DB>> "not possible with the current state of the code" or a "when we DB>> get around to it"? Well, if you are around this with @, why not with if(is_array())? -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115

« previous php.dev (#58778) next »