On Mon, Dec 8, 2014 at 3:51 PM, Andrea Faulds <a...@ajf.me> wrote:
> Please read through the RFC and cast your vote if you wish to do so:
>
> https://wiki.php.net/rfc/unicode_escape
>
> Voting starts today (2014-12-08) and ends in 10 days’ time (2014-12-18).
>
I was just updating my HHVM patch to match your PHP implementation and
an issue came up.  The following code, which is valid in PHP5:

<?php
echo json_decode("\"ma\u00F1ana\"");

Will throw a fatal compiler error as "\u00F1" is an invalid unicode
escape sequence.  Since this represents an unnecessary BC break, I'd
like to propose the error handling be modified to match \x, which is
to say: Pass the value through unmodified.

-Sara

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

Reply via email to