Re: [VOTE][RFC] Unicode Codepoint Escape Syntax
| From: | Andrea Faulds | Date: | Wed, 10 Dec 2014 19:56:29 +0000 |
| Subject: | Re: [VOTE][RFC] Unicode Codepoint Escape Syntax | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-79544@lists.php.net to get a copy of this message | ||
> On 10 Dec 2014, at 19:16, Sara Golemon <pollita@php.net> wrote:
>
>> A possible compromise might be to let ‘\u’ through but not ‘\u{‘.
>>
> Still don't like it from the inconsistency with existing escape
> sequence handlers pov, but it'd cover the biggest set of BC issues, so
> I'd be happy with it.
I’ve updated the patches for php-src and the specification to implement this, along with their
tests, and I’ve also updated the RFC.
Now this won’t error:
"\"\u202e\""
But this still will:
"\u{foobar"
I think this is an acceptable compromise.
--
Andrea Faulds
http://ajf.me/