Re: [PHP-DEV] Strange conversion From: Andi Gutmans (andi <email protected>)
Date: 12/17/00

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 <email protected>>
http://www.zend.com/

-- 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>