Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19826 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77209 invoked by uid 1010); 29 Oct 2005 21:39:43 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 77194 invoked from network); 29 Oct 2005 21:39:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Oct 2005 21:39:43 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:34330] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 14/BF-02082-E1CE3634 for ; Sat, 29 Oct 2005 17:39:42 -0400 Received: from [192.168.1.3] (dslb-084-063-026-168.pools.arcor-ip.net [84.63.26.168]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 3B70D35C392; Sat, 29 Oct 2005 23:43:05 +0200 (CEST) Date: Sat, 29 Oct 2005 23:39:53 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1396255052.20051029233953@marcus-boerger.de> To: Jasper Bryant-Greene Cc: internals@lists.php.net In-Reply-To: <1130621692.3010.3.camel@jasper.local> References: <4362C5F4.8090004@safesearching.com> <4e36d31d0510281847m3f54c70dy8b2a0679fa3c6cec@mail.gmail.com> <4362DFAB.1090701@safesearching.com> <43630958.4060406@php.net> <000e01c5dccc$e81f9470$6c051fac@lighthammer> <1130621692.3010.3.camel@jasper.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] what happened to that new isset() like language From: helly@php.net (Marcus Boerger) Hello Jasper, Saturday, October 29, 2005, 11:34:52 PM, you wrote: > 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. And guess what we have that ~ operator already: php -r 'var_dump(~0);' RTFM :-) Best regards, Marcus