Re: boolval() again
| From: | Stas Malyshev | Date: | Wed, 06 Jun 2012 07:48:52 +0000 |
| Subject: | Re: boolval() again | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-60751@lists.php.net to get a copy of this message | ||
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