Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10998 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92547 invoked by uid 1010); 8 Jul 2004 23:10:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 92523 invoked by uid 1007); 8 Jul 2004 23:10:43 -0000 Message-ID: <20040708231043.92522.qmail@pb1.pair.com> To: internals@lists.php.net Date: Thu, 08 Jul 2004 19:10:19 -0400 User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 References: <5.1.0.14.0.20040707203931.02fa6200@mail.ionzoft.com> <40ED64A0.7050305@cschneid.com> <20040708151952.92187.qmail@pb1.pair.com> <20040708215205.23281.qmail@pb1.pair.com> <40EDD2D5.60707@php.net> In-Reply-To: <40EDD2D5.60707@php.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 130.58.81.153 Subject: Re: [PHP-DEV] what happened to that new isset() like language From: contact_marcos@yahoo.es (Marc Richards) Olivier Hill wrote: > Marc Richards wrote: > >> >> That is true for other things as well: >> >> $a = $b += $c += $d; >> >> $a = $b + $c = $d; > > > Well.. yes and no... > > If you are afraid of making mistake, you can force yourself to never use > += -= *= operators, because you can simply write $a = $a + $b > > But if PHP introduces the ?: operator, you have to use it and there is > no other way around. What? Why? There is obviously a way around it, because that is what people are using now. $a = $b ? $b : $c; Marc