Re: [PHP-DEV] Re: PHP (ext/interbase) driver maintenance

2019-04-17 Thread Pierre Joye
Good morning, On Wed, Apr 17, 2019 at 1:54 PM Köditz, Martin wrote: > > Hi Kalle, > > > With all this being said; there is however one option in case the vote > > passes when it ends in about a weeks time. > > That is for the Firebird Foundation to take over control of the extension > > on PECL

Re: [PHP-DEV] [RFC] Arrow functions / short closures

2019-04-17 Thread Wes
I like it. Only exception is: ``` fn&() => ...; ``` Which I would prefer to see reserved for the purpose that you've written as: ``` fn() use(&) => ...; ``` The & symbol of "return by ref", should be placed on the right of the parentheses, near the return type: ``` fn(int &$x)&: int => $x; fn(

Re: [PHP-DEV] Re: [RFC] Arrow functions / short closures

2019-04-17 Thread Larry Garfield
On Sun, Apr 14, 2019, at 11:52 AM, Nikita Popov wrote: > So, there's been quite a bit of extra discussion here... unfortunately I > can't say that it really clarified anything, we're still circling around > different syntax choices, with the main contenders being fn, \ and ==>. > > fn($x) => $x >

Re: [PHP-DEV] Re: [RFC] Arrow functions / short closures

2019-04-17 Thread Larry Garfield
On Mon, Apr 15, 2019, at 6:48 AM, Benjamin Morel wrote: > Even though I was originally hoping for something closer to JS syntax, > considering Nikita's summary it looks like the best contender is still > fn(), as originally proposed. > At least it looks like a function indeed, to the uninitiated. >

Re: [PHP-DEV] Re: PHP (ext/interbase) driver maintenance

2019-04-17 Thread Johannes Schlüter
On Di, 2019-04-16 at 23:49 +0100, Dan Ackroyd wrote: > I'm pretty sure one of the big goals that the PHP project should try > to accomplish over the next year or two is to allow extensions to be > distributed through channels similar to Composer. In reality 90% of users use Linux (or *BSD or Mac b

Re: [PHP-DEV] Re: PHP (ext/interbase) driver maintenance

2019-04-17 Thread Kalle Sommer Nielsen
Hi Den ons. 17. apr. 2019 kl. 09.54 skrev Köditz, Martin : > By the way: > Pierre Joye mentioned to request access via a github account at > https://www.php.net/git-php.php. I read the complete instruction. But I'm > still unable to process successfully. I always get an error saying the answer

[PHP-DEV] [VOTE] Arrow functions / short closures

2019-04-17 Thread Nikita Popov
Hi internals, I've opened voting on the arrow functions RFC. The vote closes May 1st. https://wiki.php.net/rfc/arrow_functions_v2#vote The RFC uses the fn($x, $y) => $x*$y syntax as originally proposed. Regards, Nikita

Re: [PHP-DEV] [RFC] Deprecate left-associative ternary operator

2019-04-17 Thread Nikita Popov
On Sun, Apr 14, 2019 at 12:12 AM Lauri Kenttä wrote: > On 2019-04-09 12:54, Nikita Popov wrote: > > Inspired by Bob's recent RFC for concat precedence, I'd like to propose > > a > > deprecation and removal of the left-associative behavior of ternaries. > > Instead, explicit parentheses should be

Re: [PHP-DEV] Re: [RFC] Arrow functions / short closures

2019-04-17 Thread Nikita Popov
On Wed, Apr 17, 2019 at 11:23 AM Björn Larsson wrote: > Den 2019-04-14 kl. 18:52, skrev Nikita Popov: > > On Mon, Apr 8, 2019 at 4:06 PM Nikita Popov > wrote: > > > >> On Wed, Mar 13, 2019 at 4:56 PM Nikita Popov > wrote: > >> > >>> Hi internals, > >>> > >>> Motivated by the recent list compreh

Re: [PHP-DEV] Re: [RFC] Arrow functions / short closures

2019-04-17 Thread Björn Larsson
Den 2019-04-14 kl. 18:52, skrev Nikita Popov: On Mon, Apr 8, 2019 at 4:06 PM Nikita Popov wrote: On Wed, Mar 13, 2019 at 4:56 PM Nikita Popov wrote: Hi internals, Motivated by the recent list comprehensions RFC, I think it's time we took another look at short closures: https://wiki.php.ne