Bug #64520 [Opn->Nab]: asdfsssssssssssssssssssssssss
| From: | laruence@php.net | Date: | Tue, 26 Mar 2013 11:25:25 +0000 |
| Subject: | Bug #64520 [Opn->Nab]: asdfsssssssssssssssssssssssss | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-178107@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64520&edit=1
ID: 64520
Updated by: laruence@php.net
Reported by: 243008827 at qq dot com
Summary: asdfsssssssssssssssssssssssss
-Status: Open
+Status: Not a bug
Type: Bug
Package: *General Issues
Operating System: win
PHP Version: 5.4Git-2013-03-26 (snap)
Block user comment: N
Private report: N
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
in_array does *loose comparison*
Previous Comments:
------------------------------------------------------------------------
[2013-03-26 11:05:47] 243008827 at qq dot com
Description:
------------
asdfsssssssssssssssssssssssss
Test script:
---------------
var_export(in_array(0,array('a')));//true
var_export(in_array(false,array('a')));//false
var_export(in_array('',array('a')));//false
var_export(in_array(null,array('a')));//false
var_export(in_array('0',array('a',0)));//true
Expected result:
----------------
ss
Actual result:
--------------
sss
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64520&edit=1