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?
>  
> 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, that's indeed obsolete - I removed it from the RFC.

-Tyson

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to