Re: Strange conversion
| From: | Andi Gutmans | Date: | Sun, 17 Dec 2000 19:17:47 +0000 |
| Subject: | Re: Strange conversion | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-41687@lists.php.net to get a copy of this message | ||
At 19:26 17/12/00 +0100, Derick Rethans wrote:
Stanislav Malyshev wrote: DR>> to me. So I guess, we'll have to use a notice message for this. I'll DR>> do a patch on this, if nobody objects. Just remember that it should be centralized, not to some one or two functions. This is handled in zend_operators.c, line 425-429, I don't know much about this code, so I don't think I'm able to add these checks and notification here. I hope you can spend some time on it changing this?I'm OK with changing it to an E_NOTICE if you guys think that no one will be bitten by this. I think people who rely on $foo == "Array" are most probably the kind of people who do other ugly stuff like rely on undefined variables :) This means that they would anyway close E_NOTICE for production sites so this addition shouldn't bite them. I just want to make sure that you all the web developers here think it's OK. Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/