Re: [PHP-DEV] [RFC] [VOTE] Cleaning up unmaintained extensions

2018-06-29 Thread Tim Starling
On 30/06/18 11:44, Yasuo Ohgaki wrote: > readline has license issue. I miss it but I wouldn't object for removing it. > Let's use libedit for CLI by default and always. > Issue may be who is going to do this. If nobody volunteers, I may do this. The discussion is about the readline extension, whic

Re: [PHP-DEV] [RFC] [VOTE] Cleaning up unmaintained extensions

2018-06-29 Thread Yasuo Ohgaki
On Fri, Jun 29, 2018 at 2:16 PM, Tim Starling wrote: > On 20/06/18 05:46, Stanislav Malyshev wrote: > > Hi! > > > >> Hi! > >> > >> I would like to open the vote for the RFC about cleaning up the > >> unmaintained extensions: > >> > >> https://wiki.php.net/rfc/umaintained_extension

Re: [PHP-DEV] json_encode() x-notation

2018-06-29 Thread Sara Golemon
On Fri, Jun 29, 2018 at 1:51 PM, David Rodrigues wrote: > Hello. I saw that JS supports the x-notation (\x40) and u-notation > (\u0040), but PHP only supports u-notation. There some reason for that? > The TL;DR version AIUI, is that JSON strings are Unicode strings, so any byte sequence in a JSON

[PHP-DEV] json_encode() x-notation

2018-06-29 Thread David Rodrigues
​Hello. I saw that JS supports the x-notation (\x40) and u-notation (\u0040), but PHP only supports u-notation. There some reason for that? JSON.parse('"\x40"'); // => @ JSON.parse('"\u0040"'); // => @ While PHP: json_decode('"\\u0040"'); // => @ json_decode('"\\x40"'); // => null (Syntax error)

Re: [PHP-DEV] [RFC] User-defined object comparison

2018-06-29 Thread Rowan Collins
On 27 June 2018 at 19:24, Levi Morrison wrote: > This permits things such as NumPy to overload < to do an element-wise > comparison of the members; something like this: > > np.array([1, 3, 5, 7]) < np.array([2, 1, 6, 6]) > // evaluates to np.array([true, false, true, false) > In my opin

Re: [PHP-DEV] [RFC] [VOTE] Cleaning up unmaintained extensions YasuoOhgaki

2018-06-29 Thread Andrey Andreev
Hi again, On Fri, Jun 29, 2018 at 6:07 PM, Christoph M. Becker wrote: > On 29.06.2018 at 16:54, Andrey Andreev wrote: > >> On Fri, Jun 29, 2018 at 9:39 AM, Stanislav Malyshev >> wrote: >>> Readline is the only extension in your list that I would be sad about losing. I use it every day

Re: [PHP-DEV] [RFC] [VOTE] Cleaning up unmaintained extensions YasuoOhgaki

2018-06-29 Thread Christoph M. Becker
On 29.06.2018 at 16:54, Andrey Andreev wrote: > On Fri, Jun 29, 2018 at 9:39 AM, Stanislav Malyshev > wrote: >> >>> Readline is the only extension in your list that I would be sad about >>> losing. I use it every day, I guess a lot of devs do. >> >> It's not "losing", per se, as the code doesn't

Re: [PHP-DEV] [RFC] [VOTE] Cleaning up unmaintained extensions Yasuo Ohgaki

2018-06-29 Thread Andrey Andreev
Hi, On Fri, Jun 29, 2018 at 9:39 AM, Stanislav Malyshev wrote: > Hi! > > >> Readline is the only extension in your list that I would be sad about >> losing. I use it every day, I guess a lot of devs do. > > It's not "losing", per se, as the code doesn't get erased, it just moved > to PECL. All di