Re: [PHP-DEV] PHP 7 and json

2015-01-04 Thread Jakub Zelenka
Hi, On Sun, Dec 14, 2014 at 7:38 PM, Jakub Zelenka wrote: > Hi, > > On Wed, Dec 10, 2014 at 6:43 AM, Remi Collet > wrote: >> >> >> So, please go on > > > I have ported a decoder to PHP 7. The code can be found on my github > php-src jsond branch ( for code changes see > https://github.com/bukka

Re: [PHP-DEV] PHP 7 and json

2014-12-14 Thread Andrea Faulds
Hi Kevin, > On 14 Dec 2014, at 19:46, Kevin Ingwersen (Ingwie Phoenix) > wrote: > > I don’t know if you are interested in some other open source projects that > parse JSON, but have you looked at the decoder here? > > https://github.com/vstakhov/libucl >

Re: [PHP-DEV] PHP 7 and json

2014-12-14 Thread Kevin Ingwersen (Ingwie Phoenix)
I don’t know if you are interested in some other open source projects that parse JSON, but have you looked at the decoder here? https://github.com/vstakhov/libucl It can parse more than just the JSON format - but it has some JSON benchmarks attached and work

Re: [PHP-DEV] PHP 7 and json

2014-12-14 Thread Jakub Zelenka
Hi, On Wed, Dec 10, 2014 at 6:43 AM, Remi Collet wrote: > > > The main issue is the "non-free" decoder. > > Agreed. > Of course perf can be considered as an issue (I think minor). > jsonc have bad perf, but is free. > > If jsond have nearly same perf than old one, it's enough. My initial benc

Re: [PHP-DEV] PHP 7 and json

2014-12-09 Thread Remi Collet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 13/10/2014 22:15, Jakub Zelenka a écrit : > Hi, > > We have 2 alternative extensions >> >> - - jsonc the older one, probably not perfect, but used in a lot >> of downstream distributions >> >> - - jsond the recent one >> >> >> I think it is tim

Re: [PHP-DEV] PHP 7 and json

2014-10-13 Thread Jakub Zelenka
Hi, We have 2 alternative extensions > > - - jsonc the older one, probably not perfect, but used in a lot of > downstream distributions > > - - jsond the recent one > > > I think it is time to switch ext/json to another implementation and so > make PHP really "free" again. > I think that we shoul