#21990 [Opn->WFx]: switch() compare using ===

From: Date: Mon, 24 Mar 2003 18:46:46 +0000
Subject: #21990 [Opn->WFx]: switch() compare using ===
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-36307@lists.php.net to get a copy of this message
ID: 21990 Updated by: sniper@php.net Reported By: renota at earthgaming dot com -Status: Open +Status: Wont fix Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.2.2 New Comment: It's a feature and will not change. Previous Comments: ------------------------------------------------------------------------ [2003-01-31 16:09:05] renota at earthgaming dot com 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 this bug report at http://bugs.php.net/?id=21990&edit=1

« previous php.bugs (#36307) next »