Alexey Zakhlestin wrote: > Is such filtering specific to JSON? Does it have some use out of JSON-context? > Maybe it would be better to provide a set of functions for encoding > characters into '\u'-entities? (similiar to htmlentities, > htmlspecialchars) > > because if we speak of 'theoretical' problem, we might end > reimplementing this for some other function later
The \u syntax is specific to JSON, yes. -Rasmus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php