On 24.11.14 23:09, Andrea Faulds wrote:
> Good evening,
> 
> Here’s a new RFC: https://wiki.php.net/rfc/unicode_escape

I think the choice of \u{xx} is interesting, i.e. using '{' and '}'.

Afaik, one of the current best practices is to use json_decode(), like so:

$ cat test.php
<?php var_dump( json_decode( '"\u00c4"' ) );

$ php test.php
string(2) "Ä"

So your choice definitely will not influence this practice which is
good, IMHO. OTOH I'm not sure if not using '{' and '}' would actually
cause BC problems, but it's of no concern with your RFC.

thanks,
- Markus

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

Reply via email to