From:             [EMAIL PROTECTED]
Operating system: win98
PHP version:      4.2.1
PHP Bug Type:     Unknown/Other Function
Bug description:  if statment not working?

I belive this is a bug but i could be wrong because i find it hard to
belive the the if statment would not be wroking.

$YesMen ='1';
if ($YesMen == '2')echo "This means No";
else echo "This means Yes";
//returnes "This means Yes";

$YesMen ='1';
if ($YesMen == '1')echo "This means No";
else echo "This means Yes";
//returnes "This means Yes"

if ($YesMen == 'sldkw984pruowiefjow48r')echo "This means No";
else echo "This means Yes";
//returnes "This means Yes";

$YesMen =1;
if ($YesMen == 'sldkw984pruowiefjow48r')echo "This means No";
else echo "This means Yes";
//returnes "This means Yes";

$YesMen =2;
if ($YesMen == '2')echo "This means No";
else echo "This means Yes";
//returnes "This means No";

It this acting properly?

Brendan
-- 
Edit bug report at http://bugs.php.net/?id=17418&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=17418&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=17418&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=17418&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=17418&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17418&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=17418&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=17418&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=17418&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=17418&r=globals

Reply via email to