On 22/08/16 12:44, Rowan Collins wrote: > As far as I can see, these functions exist because the XML parser > infrastructure needed them, and someone thought it might be handy to > expose them to users. Funnily enough, the internal versions actually > take a parameter for the target encoding, but only support US-ASCII and > 8859-1: https://github.com/php/php-src/blob/master/ext/xml/xml.c#L283 > > If anything, they should probably have a "str_" prefix, and maybe even > be moved into the string section of the source, exposed in such a way > that the XML parser can still make use of them.
Thanks for looking deeper. That makes even more sense now. -- Regards, Mike
signature.asc
Description: OpenPGP digital signature