Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51913 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29002 invoked from network); 16 Apr 2011 00:46:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Apr 2011 00:46:15 -0000 Authentication-Results: pb1.pair.com header.from=mail_ben_schmidt@yahoo.com.au; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mail_ben_schmidt@yahoo.com.au; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain yahoo.com.au from 98.139.91.100 cause and error) X-PHP-List-Original-Sender: mail_ben_schmidt@yahoo.com.au X-Host-Fingerprint: 98.139.91.100 nm30.bullet.mail.sp2.yahoo.com Received: from [98.139.91.100] ([98.139.91.100:36341] helo=nm30.bullet.mail.sp2.yahoo.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6E/54-13342-5D6E8AD4 for ; Fri, 15 Apr 2011 20:46:14 -0400 Received: from [98.139.91.67] by nm30.bullet.mail.sp2.yahoo.com with NNFMP; 16 Apr 2011 00:46:11 -0000 Received: from [209.191.106.58] by tm7.bullet.mail.sp2.yahoo.com with NNFMP; 16 Apr 2011 00:46:11 -0000 Received: from [127.0.0.1] by smtp147.mail.mud.yahoo.com with NNFMP; 16 Apr 2011 00:46:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.au; s=s1024; t=1302914771; bh=T4Js0tvsvnHDfd5mLq9cbPU7x1+cub7X0jyIyP5uw0Q=; h=X-Yahoo-Newman-Id:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=NkpA9RZEEaboheb/n3yx4Cpb13ZAdmvr90g8dtA2fjubvDoSgLkRdxJXbXZ+2Nj6b+AQnh++/bVQpzUmSIuW/9HueU54NNGbsBn54a9y9f+C6pfdXijI7LIcfPGee3jMi94m030rEb0zDj5nw8BMBiptmJFC+DuuR74IFknZbfo= X-Yahoo-Newman-Id: 313338.61032.bm@smtp147.mail.mud.yahoo.com Received: from thought.local (mail_ben_schmidt@124.168.70.226 with plain) by smtp147.mail.mud.yahoo.com with SMTP; 15 Apr 2011 17:46:11 -0700 PDT X-Yahoo-SMTP: enFMnPSswBAexaHyzgobwuUTrYOhZdJ0KRA2SjA- X-YMail-OSG: MjtMRkgVM1lMNQGcC0wKyLlu8kyDKTxPNcORgzI3ie9z4UX 3un3d1SjvJcdA4IkNT2QQlTf6ZGgZy7SVXJIdw0ZQgrSUsvywDkH1bUQkCbg miid1a4ZxZEijgm9_Qou74aC4kf1SSTEWM8ZW_Wl07giSyQKq2oHRQKXECcP vTkk.7GVjLhhhljEcI1hEL2GL7NGNmApR9keEpvDOlKxB3uzMiHMLj0tTLF_ uBqFFLhQyXmnt6YwJXij.TYLs8uEhVuzL8xxtU0.N2lc4zt_ywosd0N4wcen ymBBduY5Ndee1igrurK1PMudK_semVrVzJHAO2V6FDydTwzWY4hBAxfBwRXU Yndtf2Ld1nuyxVOlZ7n1C65QTRQ-- X-Yahoo-Newman-Property: ymail-3 Message-ID: <4DA8E6D9.5080107@yahoo.com.au> Date: Sat, 16 Apr 2011 10:46:17 +1000 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 ThunderBrowse/3.3.5 MIME-Version: 1.0 To: Adam Richardson CC: PHP Development References: <4D9E96B6.6060401@lerdorf.com> <718216446.20110408143441@cypressintegrated.com> <4DA0E71C.9030008@gmail.com> <4DA63ED8.4080402@yahoo.com.au> <4DA6F2BC.10706@yahoo.com.au> <4DA6FB03.9040404@yahoo.com.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Implicit isset/isempty check on short-ternary operator From: mail_ben_schmidt@yahoo.com.au (Ben Schmidt) > There was also my suggestion of a "checked ternary" operator [see my > previous email in this thread.] Backwards compatible, practical, and simple. It doesn't address the main issues of code duplication and nullness checking, IMHO, so isn't a contender. Even though it's simple and compatible, it is only practical in a handful of cases. Ben.