|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-07-31 08:40 UTC] andy@php.net
[2001-08-01 03:59 UTC] joey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 04:00:01 2025 UTC |
If you compare the integer(0) to the string "null", PHP thinks they are the same. Am I hopped up on goofballs, or whats up here? $MyVar=0; if($MyVar=="null") print("apparently $MyVar is equal to \"null\""); else print("its not null, its $MyValue");