Re: [PHP-DEV] To RFC or Not To RFC [was Re: [PHP-DEV] 回复: [RFC][DISCUSSION] Add preg_replace_callback_array function]

2015-03-22 Thread Lester Caine
On 22/03/15 08:54, Patrick Schaaf wrote: >> Sure, I can agree on RFC all the things. > Probably not all things, but surely everything visible at the language > level, that would need documentation. Syntax, functions, function argument > changes. Probably also changes of official C level API for mod

Re: [PHP-DEV] To RFC or Not To RFC [was Re: [PHP-DEV] 回复: [RFC][DISCUSSION] Add preg_replace_callback_array function]

2015-03-22 Thread Pierre Joye
On Mar 22, 2015 3:45 PM, "Leigh" wrote: > > On 22 March 2015 at 07:00, Patrick Schaaf wrote: > > > > Hmm. Is that really the line to be drawn? An RFC, by itself, provides a > > good point to spell out a change clearly, and anchor it for reference in > > discussion. Discussion on internals itself

Re: [PHP-DEV] To RFC or Not To RFC [was Re: [PHP-DEV] 回复: [RFC][DISCUSSION] Add preg_replace_callback_array function]

2015-03-22 Thread Leigh
On 22 March 2015 at 08:54, Patrick Schaaf wrote: > > Okay, that's easier to implement and probably sufficient, if everybody > play nice. Or, another idea and maybe a lot less work to implement: all > active release managers could have a "want a vote" button on pending RFC > pages. > +1 on RM sign

Re: [PHP-DEV] To RFC or Not To RFC [was Re: [PHP-DEV] 回复: [RFC][DISCUSSION] Add preg_replace_callback_array function]

2015-03-22 Thread Patrick Schaaf
Am 22.03.2015 09:45 schrieb "Leigh" : > > On 22 March 2015 at 07:00, Patrick Schaaf wrote: >> >> Hmm. Is that really the line to be drawn? An RFC, by itself, provides a good point to spell out a change clearly, and anchor it for reference in discussion. Discussion on internals itself cannot provid

Re: [PHP-DEV] To RFC or Not To RFC [was Re: [PHP-DEV] 回复: [RFC][DISCUSSION] Add preg_replace_callback_array function]

2015-03-22 Thread Leigh
On 22 March 2015 at 07:00, Patrick Schaaf wrote: > > Hmm. Is that really the line to be drawn? An RFC, by itself, provides a > good point to spell out a change clearly, and anchor it for reference in > discussion. Discussion on internals itself cannot provide that, it is too > scattered, and POC c

Re: [PHP-DEV] To RFC or Not To RFC [was Re: [PHP-DEV] 回复: [RFC][DISCUSSION] Add preg_replace_callback_array function]

2015-03-22 Thread Pierre Joye
On Mar 22, 2015 2:01 PM, "Patrick Schaaf" wrote: > > Am 22.03.2015 02:30 schrieb "Leigh" : > > > > Yep, this does look like another case of simply ignoring rules. The fact > > that what does and does not require an RFC does not help, this probably > > didn't need one, however one was created and t

Re: [PHP-DEV] To RFC or Not To RFC [was Re: [PHP-DEV] 回复: [RFC][DISCUSSION] Add preg_replace_callback_array function]

2015-03-22 Thread Patrick Schaaf
Am 22.03.2015 02:30 schrieb "Leigh" : > > Yep, this does look like another case of simply ignoring rules. The fact > that what does and does not require an RFC does not help, this probably > didn't need one, however one was created and the rules need to be stuck to. Hmm. Is that really the line to

Re: [PHP-DEV] To RFC or Not To RFC [was Re: [PHP-DEV] 回复: [RFC][DISCUSSION] Add preg_replace_callback_array function]

2015-03-21 Thread Leigh
On 21 March 2015 at 12:30, Peter Cowburn wrote: > On 21 March 2015 at 08:14, Xinchen Hui wrote: > > > Hey: > > > > On Fri, Mar 20, 2015 at 9:14 PM, Xinchen Hui wrote: > > > Hey: > > > > > > On Fri, Mar 20, 2015 at 7:53 PM, Alain Williams > > wrote: > > >> On Fri, Mar 20, 2015 at 10:46:58PM +11

Re: [PHP-DEV] 回复: [RFC][DISCUSSION] Add preg_replace_callback_array function

2015-03-21 Thread Sebastian B.-Hagensen
Hi, 2015-03-21 19:30 GMT+01:00 Marc Bennewitz : > I also had a question! Didn't you noticed it? > > Am 20.03.2015 um 16:49 schrieb Marc Bennewitz: >> >> Why not simply allow the callback to be an array, too? Because arrays are valid callbacks. [$object, 'cb'] would call the the 'cb' method on the

Re: [PHP-DEV] 回复: [RFC][DISCUSSION] Add preg_replace_callback_array function

2015-03-21 Thread Marc Bennewitz
I also had a question! Didn't you noticed it? Am 20.03.2015 um 16:49 schrieb Marc Bennewitz: Why not simply allow the callback to be an array, too? Marc Am 21.03.2015 um 09:14 schrieb Xinchen Hui: Hey: On Fri, Mar 20, 2015 at 9:14 PM, Xinchen Hui wrote: Hey: On Fri, Mar 20, 2015 at 7:53

[PHP-DEV] To RFC or Not To RFC [was Re: [PHP-DEV] 回复: [RFC][DISCUSSION] Add preg_replace_callback_array function]

2015-03-21 Thread Peter Cowburn
On 21 March 2015 at 08:14, Xinchen Hui wrote: > Hey: > > On Fri, Mar 20, 2015 at 9:14 PM, Xinchen Hui wrote: > > Hey: > > > > On Fri, Mar 20, 2015 at 7:53 PM, Alain Williams > wrote: > >> On Fri, Mar 20, 2015 at 10:46:58PM +1100, Pierre Joye wrote: > >>> On Fri, Mar 20, 2015 at 7:03 PM, Wei Dai

Re: [PHP-DEV] 回复: [RFC][DISCUSSION] Add preg_replace_callback_array function

2015-03-21 Thread Xinchen Hui
Hey: On Fri, Mar 20, 2015 at 9:14 PM, Xinchen Hui wrote: > Hey: > > On Fri, Mar 20, 2015 at 7:53 PM, Alain Williams wrote: >> On Fri, Mar 20, 2015 at 10:46:58PM +1100, Pierre Joye wrote: >>> On Fri, Mar 20, 2015 at 7:03 PM, Wei Dai wrote: >>> > Hi internals, >>> >> Hi internals, >>> >> >>> >> T

Re: [PHP-DEV] 回复: [RFC][DISCUSSION] Add preg_replace_callback_array function

2015-03-20 Thread Marc Bennewitz
Am 20.03.2015 um 09:03 schrieb Wei Dai: Hi internals, Hi internals, The RFC to add a user-land function for an easy-to-use and reliable preg_replace_callback_array() in PHP is up for discussion: https://wiki.php.net/rfc/preg_replace_callback_array This proposes adding one function: `pre

Re: [PHP-DEV] 回复: [RFC][DISCUSSION] Add preg_replace_callback_array function

2015-03-20 Thread Xinchen Hui
Hey: On Fri, Mar 20, 2015 at 7:53 PM, Alain Williams wrote: > On Fri, Mar 20, 2015 at 10:46:58PM +1100, Pierre Joye wrote: >> On Fri, Mar 20, 2015 at 7:03 PM, Wei Dai wrote: >> > Hi internals, >> >> Hi internals, >> >> >> >> The RFC to add a user-land function for an easy-to-use and reliable >>

Re: [PHP-DEV] 回复: [RFC][DISCUSSION] Add preg_replace_callback_array function

2015-03-20 Thread Alain Williams
On Fri, Mar 20, 2015 at 10:46:58PM +1100, Pierre Joye wrote: > On Fri, Mar 20, 2015 at 7:03 PM, Wei Dai wrote: > > Hi internals, > >> Hi internals, > >> > >> The RFC to add a user-land function for an easy-to-use and reliable > >> preg_replace_callback_array() in PHP is up for discussion: > >> htt

Re: [PHP-DEV] 回复: [RFC][DISCUSSION] Add preg_replace_callback_array function

2015-03-20 Thread Pierre Joye
On Fri, Mar 20, 2015 at 7:03 PM, Wei Dai wrote: > Hi internals, >> Hi internals, >> >> The RFC to add a user-land function for an easy-to-use and reliable >> preg_replace_callback_array() in PHP is up for discussion: >> https://wiki.php.net/rfc/preg_replace_callback_array >> >> This proposes addin

[PHP-DEV] 回复: [RFC][DISCUSSION] Add preg_replace_callback_array function

2015-03-20 Thread Wei Dai
Hi internals, > Hi internals, > > The RFC to add a user-land function for an easy-to-use and reliable > preg_replace_callback_array() in PHP is up for discussion: > https://wiki.php.net/rfc/preg_replace_callback_array > > This proposes adding one function: `preg_replace_callback_array()` th