Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63688 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17685 invoked from network); 28 Oct 2012 09:02:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Oct 2012 09:02:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.223.170 mail-ie0-f170.google.com Received: from [209.85.223.170] ([209.85.223.170:49952] helo=mail-ie0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 98/24-18930-2A4FC805 for ; Sun, 28 Oct 2012 04:02:26 -0500 Received: by mail-ie0-f170.google.com with SMTP id c12so6465894ieb.29 for ; Sun, 28 Oct 2012 02:02:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=o0I8nGIoUlYahfHp07ie7Z2uDkKlChYNaRF/+/IVPn0=; b=l8jnHfwHazcXxkwGTdpWWCEMK5S3ZWat9x/2xUvk1TIIXn0J2bDCHA+ViCnIG2aX9V xfZ8dkY3HlOoEOuLnPY9/+N/erbnstWYFa7TwR3kJPGYxQRCAv9wbkrSAHaUStaWQMGx bVbQ0vFoSExd9JzBkVAUwKdlMEoB8wUMG0LYTn1DSlPYK0dkUzYHUtH0D7QUf6D2TBcy /ps5mIzmAL7TlFP8JLSggP0vb+h8aiwIYrr7LepwP1U2lp32TEklyCbZUYzsrlwrKOas 1yhGl0CP2/1RLzPWlY4zyS0Q55jgkJjd1hlvZwiEPaQhu2m5/j/VLT7NkH5MARfM9Fg2 2x5A== MIME-Version: 1.0 Received: by 10.50.33.138 with SMTP id r10mr6660035igi.6.1351414943544; Sun, 28 Oct 2012 02:02:23 -0700 (PDT) Received: by 10.64.33.143 with HTTP; Sun, 28 Oct 2012 02:02:23 -0700 (PDT) In-Reply-To: <508C1C4F.6060406@zerocue.com> References: <508A68B9.1050801@zerocue.com> <508AA48D.5010903@sugarcrm.com> <508C1C4F.6060406@zerocue.com> Date: Sun, 28 Oct 2012 10:02:23 +0100 Message-ID: To: Clint Priest Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [RFC] Property Accessors v1.2 : isset / unset "failable" From: pierre.php@gmail.com (Pierre Joye) hi Clint, On Sat, Oct 27, 2012 at 7:39 PM, Clint Priest wrote: > That's basically what #2 is getting at, my only question is, emit a warning > or notice or not? > > Technically returning false on an invalid isset() call could be misleading > without emitting some kind of notice or warning about it. isset is used for this exact purpose, avoid noisy scripts while testing the existence (instance, init'ed, etc.) of a variable or property. Raising a notice here sounds wrong, no matter in which context. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org