Bug #17418 Updated: if statment not working?

From: Date: Fri, 24 May 2002 20:32:53 +0000
Subject: Bug #17418 Updated: if statment not working?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8436@lists.php.net to get a copy of this message
ID: 17418 Updated by: mfischer@php.net Reported By: ferguson@becon.org -Status: Open +Status: Bogus Bug Type: Unknown/Other Function Operating System: win98 PHP Version: 4.2.1 New Comment: Sorry, but the bug system is not the appropriate forum for asking support questions. Your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2002-05-24 16:04:32] ferguson@becon.org 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 this bug report at http://bugs.php.net/?id=17418&edit=1

« previous php.bugs (#8436) next »