|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-06-15 23:48 UTC] scottmac@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 08:00:01 2025 UTC |
Description: ------------ When i do a comparission between a number and an empty string Reproduce code: --------------- $var = '' if (0 == $var) echo "This is bad"; else echo "do some"; Expected result: ---------------- An empty string should not be equals to 0