Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:302 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2653 invoked from network); 26 Mar 2003 12:28:40 -0000 Received: from unknown (HELO mrelay-b.lmu.ac.uk) (160.9.128.17) by pb1.pair.com with SMTP; 26 Mar 2003 12:28:40 -0000 Received: from lis-exchange2.lmu.ac.uk ([160.9.35.2]) by mrelay-b.lmu.ac.uk with esmtp (Exim 4.10) id 18yA15-00068I-00; Wed, 26 Mar 2003 12:28:27 +0000 Received: by LIS-EXCHANGE2 with Internet Mail Service (5.5.2653.19) id ; Wed, 26 Mar 2003 12:20:41 -0000 Message-ID: <7E070107F405BA4790C43526CC4985A10132ADCC@lis-exchange3.lmu.ac.uk> To: "'zeev@zend.com'" , "Ford, Mike [LSS]" Cc: internals@lists.php.net Date: Wed, 26 Mar 2003 12:34:15 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: RE: [PHP-DEV] Make switch/case to type sensitive comparison in PH P 5? From: M.Ford@lmu.ac.uk ("Ford, Mike [LSS]") > -----Original Message----- > From: Zeev Suraski [mailto:zeev@zend.com] > Sent: 26 March 2003 01:47 > To: Ford, Mike [LSS] > > At 03:27 25/03/2003, Ford, Mike [LSS] wrote: > >I'd love to see, say, case_identical for requesting an === > comparison, with > >case continuing as before to do an == comparison. > > I'd really not love to see it :) Use an if-else chain of === > comparisons > instead if that's what you really need. Oh, well, fair enough -- I can live with that, although I think it's a less elegant way of programming it. Still, nothing ventured nothing gained...! ;) Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@lmu.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211