ID:               37750
 Updated by:       [EMAIL PROTECTED]
 Reported By:      xenophobia_1987 at yahoo dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Unknown/Other Function
 Operating System: Debian GNU/Linux
 PHP Version:      4.4.2
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Use ===.


Previous Comments:
------------------------------------------------------------------------

[2006-06-08 18:07:05] xenophobia_1987 at yahoo dot com

Description:
------------
Problem occured while I'am using the if-else statment...

Is hard to explain... lets look at the code...

Reproduce code:
---------------
//declaring variable
$var1 = "words";

if($var1 == 0){
   echo "Is a zero";
}else if($var1 == "words"){
   echo "Is a string";
}

Expected result:
----------------
Is a string

Actual result:
--------------
Is a zero


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37750&edit=1

Reply via email to