|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-02-01 19:10 UTC] email dot fivemin at gmail dot com
-Operating System: linux
+Operating System: All
-PHP Version: 5.3Git-2013-02-01 (Git)
+PHP Version: 5.3.3
[2013-02-01 19:10 UTC] email dot fivemin at gmail dot com
[2013-02-01 19:17 UTC] rasmus@php.net
-Status: Open
+Status: Not a bug
[2013-02-01 19:17 UTC] rasmus@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 10 10:00:01 2025 UTC |
Description: ------------ this code return 1 i have null member and null isn't zero! <? $t="1,2,"; $v=explode(",",$t); print_r($v); echo in_array(0,$v); echo "\n"; ?> Test script: --------------- <? $t="1,2,"; $v=explode(",",$t); print_r($v); echo in_array(0,$v); echo "\n"; ?> Expected result: ---------------- in_array function return 0