Hi Derick, > On 21 Oct 2014, at 17:26, Derick Rethans <der...@php.net> wrote: > > But what about if we also would like a to_bool, which would accept > "true", "false", "0", "1", true, false, 1 and 0?
Yep, I think that totally makes sense. "yes" and "no" would be further candidates but that’s probably already too much. cu, Lars -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php