I personally think there is value in marking strings as binary using the
'b' even if PHP currently doesn't differentiate, from a developer
friendliness perspective. It shows intent, and informs the reader of what
to expect if they inspect the value.

If anything, the only change I'd make, if possible, would be for var_dump()
to print it in a readable format (e.g. hex encoded) by default.

I don't see any issues with forward compatibility either, any attempt to
re-add a 'b' later would exhibit the same behavior it does now, most likely.

- Davey

On Thu, Feb 16, 2017 at 2:36 PM, Pedro Magalhães <m...@pmmaga.net> wrote:

> >
> >
> > Too bad it has been rejected.
> >
>
> The vote is still open until the 20th.
>
> Regards,
> Pedro
>

Reply via email to