On Thu, Feb 4, 2021 at 3:36 PM tyson andre <tysonandre...@hotmail.com>
wrote:

> Hi internals,
>
> > I've created https://wiki.php.net/rfc/readable_var_representation based
> on
> > my original proposal in https://externals.io/message/112924
> >
> > [...]
>
> A reminder that voting on the var_representation RFC starts in a day.
> This RFC proposes adding a new function `var_representation(mixed $value,
> int $flags=0): string` with multiple improvements on `var_export()`.
>
> Any other feedback?
>

Hi,

I think the "though strings with embedded newlines will still cause
newlines in the output" part is obsolete (since `\r` and `\n` are escaped
now).

Apart from that, since var_export (and var_dump) can't really be "fixed"
for BC reasons, I'm +1 for the new function.

Thanks

-- 
Guilliam Xavier

Reply via email to