#21990 [NEW]: switch() compare using ===

From: Date: Fri, 31 Jan 2003 22:09:05 +0000
Subject: #21990 [NEW]: switch() compare using ===
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-31810@lists.php.net to get a copy of this message
From: renota@earthgaming.com Operating system: Linux PHP version: 4.2.2 PHP Bug Type: Feature/Change Request Bug description: switch() compare using === Hi, I was doing some developing and noticed that switch() only does a == compare and not a === compare (e.g. case -7:). I would like to request it (if it's not aleady done). Thank you for your time. -- Edit bug report at http://bugs.php.net/?id=21990&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21990&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21990&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21990&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21990&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21990&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21990&r=support Expected behavior: http://bugs.php.net/fix.php?id=21990&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21990&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21990&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21990&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21990&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21990&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21990&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21990&r=gnused

« previous php.bugs (#31810) next »