Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66507 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45263 invoked from network); 6 Mar 2013 21:40:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Mar 2013 21:40:20 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.173 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.223.173 mail-ie0-f173.google.com Received: from [209.85.223.173] ([209.85.223.173:54537] helo=mail-ie0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FB/31-39658-3C7B7315 for ; Wed, 06 Mar 2013 16:40:20 -0500 Received: by mail-ie0-f173.google.com with SMTP id 9so10184084iec.32 for ; Wed, 06 Mar 2013 13:40:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=4TeuLd2AJm1nnb1ObNOU69Ey+YQGkRAttXk7uC7Z1jk=; b=a5JUK8TD6D4hrw6RCVaoim67wljEdI/TZ2XYHfKSsYlI+KmJJm78m8krScd+x0w6cK cdO6V3YFvL7JXDxNRiKbeiCXRRnvyPTmWAdwQE913d5hIIihy1w9uY61lqYZdJyG+S3g Lj7v36f/rK3wjV2bAKF1rRhtkem9MOc44wTXSddhxPSWkL+YJxFOncKKwQdiZ1jSprdx AVnASnHkcLJU6eFylXi5GkAimer2OVDs4XigSd7Z2QlIBZsGRiyYxHtX5LHMfOwOb5VH +Rmx8oRDo0dehiWS1TIJOBCgaTvmB5Cgxqcss7bbDIK62c4SRuVDrtMAkGGsETR6tte+ cMWA== MIME-Version: 1.0 X-Received: by 10.50.12.229 with SMTP id b5mr12191851igc.105.1362606017143; Wed, 06 Mar 2013 13:40:17 -0800 (PST) Received: by 10.50.114.137 with HTTP; Wed, 6 Mar 2013 13:40:17 -0800 (PST) In-Reply-To: References: Date: Wed, 6 Mar 2013 22:40:17 +0100 Message-ID: To: Bob Weinand Cc: PHP List Developers Mailing Content-Type: multipart/alternative; boundary=14dae9340b499eef5204d7486f01 Subject: Re: [PHP-DEV] [RFC] unset(): return bool if the variable has existed From: tyra3l@gmail.com (Ferenc Kovacs) --14dae9340b499eef5204d7486f01 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Mar 6, 2013 at 10:38 PM, Ferenc Kovacs wrote: > > > > On Wed, Mar 6, 2013 at 10:10 PM, Bob Weinand wrote: > >> Hi! >> >> As this seem to require a RFC, here is it: >> >> https://wiki.php.net/rfc/unset_bool >> >> Please feedback, >> >> Bob Weinand >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > unset is not a function, but a language construct, and there is at least > one similar construct which doesn't return anything (eg. not returning > NULL, but syntax error when used in a return context): echo > > referring to "This removes also an inconsistency: the function's return value is void, states the docs. It is until now the only function which has no return value." especially. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --14dae9340b499eef5204d7486f01--