Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19825 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75310 invoked by uid 1010); 29 Oct 2005 21:35:14 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 75294 invoked from network); 29 Oct 2005 21:35:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Oct 2005 21:35:14 -0000 X-Host-Fingerprint: 210.55.31.88 unknown Linux 2.5 (sometimes 2.4) (4) Received: from ([210.55.31.88:57298] helo=mail.album.co.nz) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id CA/6F-02082-D0BE3634 for ; Sat, 29 Oct 2005 17:35:10 -0400 Received: from 222-152-237-101.jetstream.xtra.co.nz (222-152-237-101.jetstream.xtra.co.nz [222.152.237.101]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.album.co.nz (Postfix) with ESMTP id 128122F20A; Sun, 30 Oct 2005 10:35:02 +1300 (NZDT) To: Sara Golemon Cc: internals@lists.php.net In-Reply-To: <000e01c5dccc$e81f9470$6c051fac@lighthammer> References: <4362C5F4.8090004@safesearching.com> <4e36d31d0510281847m3f54c70dy8b2a0679fa3c6cec@mail.gmail.com> <4362DFAB.1090701@safesearching.com> <43630958.4060406@php.net> <000e01c5dccc$e81f9470$6c051fac@lighthammer> Content-Type: text/plain Organization: Album Limited Date: Sun, 30 Oct 2005 10:34:52 +1300 Message-ID: <1130621692.3010.3.camel@jasper.local> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] what happened to that new isset() like language From: jasper@album.co.nz (Jasper Bryant-Greene) On Sat, 2005-10-29 at 14:07 -0700, Sara Golemon wrote: > >> Evaluating an idea based on it's syntactic similarities to other > >> languages is complete and utter nonsense. It has nothing to with being > >> like language Xyz. It has to do with familiarity to language constructs. > >> One already understands the idea of 'this || that'. It's certainly > > > > I'll throw the water on this one: > > > > > $c = 0; > > $a = 1; > > var_dump($c || $a); > > ?> > > > > Changing true into false consitutes a rather severe BC break :). > > > How about ||| and |||= ? > How about ~ and ~= ? Shorter to type. I know that in logic it can mean NOT, but I think nearly all PHP programmers would know that ! serves that purpose in PHP. -- Jasper Bryant-Greene General Manager Album Limited e: jasper@album.co.nz w: http://www.album.co.nz/ b: http://jbg.name/ p: 0800 4 ALBUM (0800 425 286) or +64 21 232 3303 a: PO Box 579, Christchurch 8015, New Zealand