ID:               16843
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         Variables related
 Operating System: Red Hat Linux
 PHP Version:      4.2.0
 New Comment:

The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php


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

[2002-04-26 02:42:05] [EMAIL PROTECTED]

The following lines of code produce this:

"filled equals zero"

$filled = 0;
if($filled == 0){
     echo "filled equals zero";
}
switch($filled){
     case $filled == 0:
          echo "filled equals zero also"
     break;
}

As far as I can tell, there is no reason why that case isn't satisfied
- $filled DOES equal 0, as the if statement proves, yet "filled equals
zero also" never appears on the page. However, replacing "case $filled
== 0:" with "case 0:" does work. This can only be a bug.

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


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

Reply via email to