PHP 4.0 Bug #8015: in_array works only with equal variable types
| From: | mmlyanrcik at charmed dot sk | Date: | Tue, 28 Nov 2000 19:45:56 +0000 |
| Subject: | PHP 4.0 Bug #8015: in_array works only with equal variable types | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39407@lists.php.net to get a copy of this message | ||
From: mmlyanrcik@charmed.sk
Operating system: Slackware Linux 7.1
PHP version: 4.0.3pl1
PHP Bug Type: Arrays related
Bug description: in_array works only with equal variable types
Hi,
I don't know how it's possible but when i have an array which contains 0(zero) and then I
use in_array where i'm looking if some string is in array it says OK string is in_array. Maybe
when function should use comparision of variable types it could help.
--
Edit Bug report at: http://bugs.php.net/?id=8015&edit=1