|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-10-02 11:31 UTC] mike@php.net
-Status: Open
+Status: Not a bug
-Package: *Compile Issues
+Package: Doc Build problem
[2013-10-02 11:31 UTC] mike@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 05:00:01 2025 UTC |
Description: ------------ PHP is treating integer 0 as a NUll. This brings inconsistency when dealing with an array with zeros and spaces(NULL) Test script: --------------- $val==0; if ($val==NULL) { echo "sad"; } Expected result: ---------------- No value Instead it returns "sad" Actual result: -------------- "sad"