RE: [PHP-DEV] Re: PHP 4.0 Bug #8409 Updated: in_array acting strange
| From: | James Moore | Date: | Mon, 25 Dec 2000 00:25:01 +0000 |
| Subject: | RE: [PHP-DEV] Re: PHP 4.0 Bug #8409 Updated: in_array acting strange | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-42234@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Anil Madhavapeddy [mailto:anil@recoil.org]
> Sent: 25 December 2000 00:11
> To: Bug Database
> Subject: [PHP-DEV] Re: PHP 4.0 Bug #8409 Updated: in_array acting
> strange
>
>
> >
> > changing bug type.. more suited to a docu problem.
> >
>
> The behaviour of the function itself quite surprised me as
> well; I can't figure out how the default (non-strict) behaviour
> is actually 'correct'. Hence I marked it as a scripting engine
> problem.
In which case it is a misbehaving function not a scripting engine problem.
> (in other words, when would I _not_ want to use strict mode with
> this function?)
I dont know.. Hmm seems weird behaviour to me but I dont think we will see
it changed that quickly although I wouldnt mind some explanation of its
current behaviour and why we should/shouldnt change it to default to strict
mode.
James