Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60766 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35754 invoked from network); 6 Jun 2012 19:41:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jun 2012 19:41:01 -0000 Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.54 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 74.125.82.54 mail-wg0-f54.google.com Received: from [74.125.82.54] ([74.125.82.54:45763] helo=mail-wg0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 39/E0-29813-B42BFCF4 for ; Wed, 06 Jun 2012 15:41:00 -0400 Received: by wgbfg15 with SMTP id fg15so5463277wgb.11 for ; Wed, 06 Jun 2012 12:40:56 -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=y/wBj0BPQxGcBojMYlZ4jIHWzDczJKKnms6ux5QlqhQ=; b=JPCNfy2yW5/TTQP7mbiCR484EZe23lMaZj+gmeEmhJl4sBTtfAV3ShKpFKU1d3vfa+ gWPvFqIPYt65Y3EdTvvtUOvLSvzLiTs74vVUNmImFXDzje/wHmpz65tUrc9YU85QeEI2 RTMPhqFIvk8Rusx6zF3gALl1udKjx9S9qqxYNnniyVg8tJO3yGOAqhnrY7M9cqNEfPkt +kWX+9j7iI28gBW8OEFPqhG+Qm0qi8ys/maXrUkUIMTnLA4XxhKyfxo7dHvFPhQ8K4Zt LUDYlSwP9OCm+ljJ4h83aXlcM1Bo9LxbuHL/EBBJEbH3gDfdzv7c14WuHzU7LTjE0t8R eQ8w== MIME-Version: 1.0 Received: by 10.216.193.129 with SMTP id k1mr17010779wen.201.1339011654147; Wed, 06 Jun 2012 12:40:54 -0700 (PDT) Received: by 10.223.160.133 with HTTP; Wed, 6 Jun 2012 12:40:54 -0700 (PDT) In-Reply-To: References: <9a2db39a-1bf2-4f7d-9713-2c6672d51783@email.android.com> Date: Wed, 6 Jun 2012 12:40:54 -0700 Message-ID: To: Felipe Pena Cc: Pierre Joye , Derick Rethans , David Soria Parra , internals@lists.php.net Content-Type: multipart/alternative; boundary=0016e6dee774fee07204c1d2f135 Subject: Re: [PHP-DEV] boolval() again From: kris.craig@gmail.com (Kris Craig) --0016e6dee774fee07204c1d2f135 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Jun 6, 2012 at 4:29 AM, Felipe Pena wrote: > Hi, > > 2012/6/6 Pierre Joye : > > hi, > > > > Pull it but I would still do a RFC to clearly document it (exact > > behaviors), which could be then used by the doc team and to implement > > tests. > > > > On Wed, Jun 6, 2012 at 11:51 AM, Derick Rethans wrote: > >> David Soria Parra wrote: > >> > >>> Going through the 26 open pull requests (please let us work on getting > >>> that number down), I stumbled over > >>> https://github.com/php/php-src/pull/60. > >>> > >>> This was already proposed on the mailinglits, but the thread died fast > >>> without > >>> a satisfying answer on whether to add a function boolval() or not. > >>> > >>> Personally I would like to see the function in. Having a complete set > >>> of XYZval() functions is a good reason for me to add that function. > >>> The > >>> implementation is simple and straight forward and easy to maintain. > >>> > >>> Do we need an RFC for that simple pull request or can we just go ahead > >>> and pull it? > >> Pull it. > >> > >> Derick > >> > >> -- > >> PHP Internals - PHP Runtime Development Mailing List > >> To unsubscribe, visit: http://www.php.net/unsub.php > >> > > > > > > Pull it! About the RFC, I think isn't necessary as the behavior is > obvious, i.e. it behaves like a cast to bool. > > -- > Regards, > Felipe Pena > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > IMHO since it represents a language change (albeit a minor one) I agree with Pierre that an RFC wouldn't hurt. If nothing else it's just a good habit to get into I think. --Kris --0016e6dee774fee07204c1d2f135--