Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60751 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78962 invoked from network); 6 Jun 2012 07:48:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jun 2012 07:48:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.173 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.173 smtp173.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.173] ([67.192.241.173:54918] helo=smtp173.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0E/B0-08677-76B0FCF4 for ; Wed, 06 Jun 2012 03:48:56 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp17.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 1C988188AC5; Wed, 6 Jun 2012 03:48:53 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp17.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id C8F0D188AF0; Wed, 6 Jun 2012 03:48:52 -0400 (EDT) Message-ID: <4FCF0B64.5000404@sugarcrm.com> Date: Wed, 06 Jun 2012 00:48:52 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: David Soria Parra CC: "internals@lists.php.net" References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] boolval() again From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > 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. I think boolval() is fine, but implementation seems to be overly complicated - why not just use zend_is_true? -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227