On 21 October 2014 14:35, Christian Schneider <cschn...@cschneid.com> wrote:
> Am 21.10.2014 um 09:06 schrieb Joe Watkins <pthre...@pthreads.org>: > > https://wiki.php.net/rfc/ustring > > > > This is the result of work done by a few of us, we won't be > opening any > > vote in a fortnight. We have a long time before 7, there is no rush > > whatever. > > > I have one concern I want to bring up: The RFC proposes a helper function > u() to generate UStrings. > > As this is a very handy function name for all sort of utility functions > (as a matter of face we use it to create and sanitize URL strings to be > embedded into HTML) I would assume that more than one project has a name > clash there. > > Maybe something like _u() could be used instead? Or do you have better > alternatives for this? > > PS: UString is also in the global name space but should be less of a > problem I'd imagine. > With the "use function" support, that could be located in a namespace. But something else: wasn't there a big concern in another thread regarding codepoint/grapheme support, like with $ustring->length()? -- Regards, Mike