Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60759 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2388 invoked from network); 6 Jun 2012 11:29:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jun 2012 11:29:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=felipensp@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=felipensp@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.170 as permitted sender) X-PHP-List-Original-Sender: felipensp@gmail.com X-Host-Fingerprint: 209.85.216.170 mail-qc0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:51950] helo=mail-qc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8E/15-08677-33F3FCF4 for ; Wed, 06 Jun 2012 07:29:56 -0400 Received: by qcmt36 with SMTP id t36so3675592qcm.29 for ; Wed, 06 Jun 2012 04:29:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=qzPhpbezSdp/gKRlYmytRjXfQGoFMm+DlvNn65EjVPc=; b=A21XkGv5SaE3i9gc5C6gmg3MYlrwO132jXJ+ECp08U5iIxiGp5r4hkv0W11qjqrYot wVL9JYEakCSnYPdbrrU1altO19aAs5hgWA52Sg4/jffLdr5aC9cwSDmRTAGciaqTr/9P dbbm8soyOlbHLD4Emcbiy7o1QkOalwdTdNAjfyjpDNMxxM6FUWM4Spf8IKvv9/yYht5l rNwTyzbWNuSck1rb8j+Umf21OtKtBfwW8K5JSw0Iw4t3WFn1wqeTBzNsTvdzk9KM/wxx 7fH3QmNlUMniQvj8sgmBpxc6rBQQ7669e21xSej8xY/h/4dD5DxHmwmD0BZNgqUaNvRs qoUg== Received: by 10.224.58.137 with SMTP id g9mr17615978qah.83.1338982191815; Wed, 06 Jun 2012 04:29:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.99.144 with HTTP; Wed, 6 Jun 2012 04:29:31 -0700 (PDT) In-Reply-To: References: <9a2db39a-1bf2-4f7d-9713-2c6672d51783@email.android.com> Date: Wed, 6 Jun 2012 08:29:31 -0300 Message-ID: To: Pierre Joye Cc: Derick Rethans , David Soria Parra , internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] boolval() again From: felipensp@gmail.com (Felipe Pena) 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