> Am 25.10.2014 um 17:37 schrieb Sebastian Bergmann :
>
> Am 25.10.2014 um 13:00 schrieb Weinand Bob:
>> It’s known that all the development currently is going on in
>> krakjoe/phpdbg github repo.
>
> Why is that, exactly? I find it weird that something that is shipp
Just a minor question, Derick. If you care about phpdbg, why are you only
dropping any comment about it by the time it got into php-src repo? It’s known
that all the development currently (except for master, but that just was a
merge and then a pure rewrite on top of that merge, nothing related
.
> NULL with ?? seems better than FALSE :)
>
> but if we talk about safety, we should be able to relay on to_int() return
> value without additional checks.
>
> Thanks. Dmitry.
>
> On Wed, Oct 22, 2014 at 4:35 PM, Weinand Bob <mailto:bobw...@hotmail.com>> wrote:
&g
So, what exactly changes here if we have a second parameter or just return null
by default?
It doesn’t make any difference, it’s just another way to write it:
to_int($a, $default)
or
to_int($a) ?? $default
Also, if you want exceptions, you always can wrap a userland function around it
— but I’d