[PHP-DEV] Re: JSON unicode escape issue and new constants

2015-06-07 Thread Jakub Zelenka
On Sun, Jun 7, 2015 at 8:55 PM, Christoph Becker wrote: > Jakub Zelenka wrote: > > > On Thu, May 28, 2015 at 7:53 PM, Jakub Zelenka wrote: > > > >> There are two issues (reported bugs but not really bugs) in json_decode > >> related to \u escape. > >> > >> First one is > >> json_decode('{"\u

[PHP-DEV] Re: JSON unicode escape issue and new constants

2015-06-07 Thread Christoph Becker
Jakub Zelenka wrote: > On Thu, May 28, 2015 at 7:53 PM, Jakub Zelenka wrote: > >> There are two issues (reported bugs but not really bugs) in json_decode >> related to \u escape. >> >> First one is >> json_decode('{"\u": 1}'); >> reported in https://bugs.php.net/bug.php?id=68546 >> >> That c

[PHP-DEV] Re: JSON unicode escape issue and new constants

2015-06-07 Thread Jakub Zelenka
Hi, On Thu, May 28, 2015 at 7:53 PM, Jakub Zelenka wrote: > Hi, > > There are two issues (reported bugs but not really bugs) in json_decode > related to \u escape. > > First one is > json_decode('{"\u": 1}'); > reported in https://bugs.php.net/bug.php?id=68546 > > That code result in fatal e