> On 23 Oct 2014, at 20:54, Stas Malyshev <smalys...@sugarcrm.com> wrote:
> 
>> P.S. u() is a bad name, will break lots of code, i.e.
> 
> Maybe __u()? It's a bit ugly but you're not allowed to use __ so it's safe.

I don't like that. This might sound crazy, but what about adding Unicode string 
literals to the parser, e.g. u"foo bar\u{202e}你好"? If the UString extension 
isn't available, just error. It wouldn't be the first time we had disableable 
syntax features (``), and this avoids any possible conflicts.
--
Andrea Faulds
http://ajf.me/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to