Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66508 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47102 invoked from network); 6 Mar 2013 21:43:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Mar 2013 21:43:03 -0000 Authentication-Results: pb1.pair.com header.from=wfitch@meetme.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=wfitch@meetme.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain meetme.com designates 74.125.149.147 as permitted sender) X-PHP-List-Original-Sender: wfitch@meetme.com X-Host-Fingerprint: 74.125.149.147 na3sys009aog122.obsmtp.com Linux 2.5 (sometimes 2.4) (4) Received: from [74.125.149.147] ([74.125.149.147:37314] helo=na3sys009aog122.obsmtp.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 42/B1-39658-668B7315 for ; Wed, 06 Mar 2013 16:43:03 -0500 Received: from mail-qa0-f69.google.com ([209.85.216.69]) (using TLSv1) by na3sys009aob122.postini.com ([74.125.148.12]) with SMTP ID DSNKUTe4Y6e6cWUzTAXFvOAJl1OGAuGEhTWi@postini.com; Wed, 06 Mar 2013 13:43:02 PST Received: by mail-qa0-f69.google.com with SMTP id bv4so8227784qab.8 for ; Wed, 06 Mar 2013 13:42:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-received:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=4evDOBf4aYUu8uVjhkfb2FkyBUBGpT4hphhVJse8A6w=; b=MZaAwDtmpQrAWYPFnv/CQeW/rSZkJ5tinoHh94MBhajlceLKMy9Xt9UlA9Fs9EJloP gpBrMP1ObpCAqmjhYPjEfLzU7iMDriqN7dyDQHsadZDRqhQ/w9orVpf31fP4mSeenowl PkHdIHLQK3cPtBrWhgyfE4b0Y8FSPGqU0WCFhKpl6lvnULhnMMzsMTyrhv8ph4gNgVsG lNmzZs4chTqVGw2R6mtqpDKtQ85caMwAW8bapnUkaMWv9IAbCwRdWfDhkud8LJncBRF4 SRuWcm9HNmTgZB1StDpt5D4ccLbMbC6UWte1QbLrwDnFUeWVffXfOnxHfM82uvzlhoSJ 6Qug== X-Received: by 10.229.205.73 with SMTP id fp9mr2450738qcb.21.1362606178802; Wed, 06 Mar 2013 13:42:58 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.229.205.73 with SMTP id fp9mr2450737qcb.21.1362606178701; Wed, 06 Mar 2013 13:42:58 -0800 (PST) Received: by 10.49.104.51 with HTTP; Wed, 6 Mar 2013 13:42:58 -0800 (PST) In-Reply-To: References: Date: Wed, 6 Mar 2013 16:42:58 -0500 Message-ID: To: Ferenc Kovacs Cc: Bob Weinand , PHP List Developers Mailing Content-Type: multipart/alternative; boundary=0050450162ce40372504d748791e X-Gm-Message-State: ALoCoQlEIh0dSIDbtyXq4JlSodUWy1DtwSYE14moGx223K9gDaDfdeYns6nZD+oVWI7gFXakWqCdJBwaGEUk71W1Ad9RQj+RWa/8U+Vjn2nmZ3J4bfKgmQTZk164fax25GZkYYbEhaH7LcLMABjOeteYPpfnPNJPAUucbbd35nrcqRtV2SsE/TI= Subject: Re: [PHP-DEV] [RFC] unset(): return bool if the variable has existed From: wfitch@meetme.com (Will Fitch) --0050450162ce40372504d748791e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, Mar 6, 2013 at 4:40 PM, Ferenc Kovacs wrote: > 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 leas= t > > 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 h= as > no return value." especially. > Agreed. The RFC needs to be updated as to not mislead readers. > > -- > Ferenc Kov=E1cs > @Tyr43l - http://tyrael.hu > --0050450162ce40372504d748791e--