Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Johannes Schlüter
On Mon, 2020-03-23 at 11:01 -0400, Mike Schinkel wrote: > > On Mar 23, 2020, at 6:36 AM, Remi Collet wrote: > > > > Le 21/03/2020 à 23:52, Mike Schinkel a écrit : > > > > On Mar 21, 2020, at 5:59 PM, tyson andre < > > > > tysonandre...@hotmail.com> wrote: > > > > FROM: Re: [PHP-DEV] [RFC] is_lite

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Rowan Tommins
On 23/03/2020 19:55, Mike Schinkel wrote: As long as that's true, there will be hosts who disable features you wish they wouldn't. Generally that is not the issue with WordPress. Most managed WordPress hosts support the required ones... I wasn't saying they disable features you *need*, I sai

[PHP-DEV] Reminder: Mailinglist Guidelines

2020-03-23 Thread Derick Rethans
Hi All, I would like to remind you that the PHP team has developed mailinglist rules. I think it'd be a great idea if y'all would go over these again. They're at https://github.com/php/php-src/blob/master/docs/mailinglist-rules.md cheers, Derick -- PHP 7.4 Release Manager Host of PHP Interna

Re: [PHP-DEV] Improving PHP's Object Egonomics: A broad analysis

2020-03-23 Thread Larry Garfield
On Mon, Mar 23, 2020, at 2:47 PM, Michał Brzuchalski wrote: > Hi Larry, > > The value here is combining constructor promotion with named parameters. > > Constructor promotion itself is useful for the class implementer, but > > doesn't help the caller. Named parameters helps the caller, but doesn'

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Mike Schinkel
> On Mar 23, 2020, at 4:13 PM, Larry Garfield wrote: > > Platform.sh, the managed host I work for, has offered every version of PHP > since 7.1 day-of-release, and we also have a long list of available PECL > extensions that can be enabled by adding a line to a YAML file. We also have > a bui

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Larry Garfield
On Mon, Mar 23, 2020, at 3:08 PM, Mike Schinkel wrote: > Just as a follow up where I just asked Greg Anderson of Pantheon on > their community Slack in the #community channel about supporting new > versions of PHP and ability to install PECL extensions. It pretty much > follows exactly what I ha

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Ben Ramsey
> On Mar 23, 2020, at 15:08, Mike Schinkel wrote: > > Maybe if PHP came with a "bundled" distro with a base set of PECL extensions > tested and added, managed hosts would decide to pick that up. This is pretty much the role the packagers play for all the various OS distributions. Cheers, Ben

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Mike Schinkel
Just as a follow up where I just asked Greg Anderson of Pantheon on their community Slack in the #community channel about supporting new versions of PHP and ability to install PECL extensions. It pretty much follows exactly what I have been saying: = Greg Anderson [Pantheon]

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Ben Ramsey
> On Mar 23, 2020, at 14:55, Mike Schinkel wrote: > >> We've already made huge strides in one big >> advantage, which is speed - if they were starting today, I wonder if the >> Phalcon team would bother inventing Zephir, or if they'd just design the >> framework with OpCache pre-loading in mind.

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Mike Schinkel
> On Mar 23, 2020, at 3:08 PM, Rowan Tommins wrote: > > On Mar 23, 2020, at 1:51 PM, Ben Ramsey wrote: > >>> I think Rowan is making the point that *most* of the features found in >> the core PHP distribution are *optional*. Distributions and hosts are >> choosing to enable them. There are very

Re: [PHP-DEV] Improving PHP's Object Egonomics: A broad analysis

2020-03-23 Thread Michał Brzuchalski
Hi Larry, pon., 23 mar 2020 o 20:04 Larry Garfield napisał(a): > Merging some replies together here... > > On Sun, Mar 22, 2020, at 8:36 PM, Levi Morrison via internals wrote: > > > In short: I believe our biggest potential win is to focus on 3 RFCs: > > > > > > * Constructor Promotion > > I wou

Re: [PHP-DEV] Making mysqli easier to use with parameters

2020-03-23 Thread Craig Francis
Hi Joel, I assume you're under the handle Machavity in Room 11: https://chat.stackoverflow.com/transcript/message/48927577#48927577 https://gist.github.com/machavity/c84dad59bbc4d7d37b2d6e6bfd654df3 If not, I'd be up for your proposal as well, anything to make mysqli easier to use. Personally I

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Larry Garfield
On Mon, Mar 23, 2020, at 1:22 PM, Reinis Rozitis wrote: > > -Original Message- > > From: Mike Schinkel > > > > That is a utopian sentiment, but not valid in the corporate world that uses > > managed hosting because they are focused on operating their business and > > not on having to spend

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Rowan Tommins
On Mar 23, 2020, at 1:51 PM, Ben Ramsey wrote: > > I think Rowan is making the point that *most* of the features found in > the core PHP distribution are *optional*. Distributions and hosts are > choosing to enable them. There are very few things in the core distribution > that cannot be disabled

Re: [PHP-DEV] Improving PHP's Object Egonomics: A broad analysis

2020-03-23 Thread Larry Garfield
Merging some replies together here... On Sun, Mar 22, 2020, at 8:36 PM, Levi Morrison via internals wrote: > > In short: I believe our biggest potential win is to focus on 3 RFCs: > > > > * Constructor Promotion > I would vote yes on this, assuming the implementation is sane. On Mon, Mar 23, 2020

RE: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Reinis Rozitis
> -Original Message- > From: Mike Schinkel > > That is a utopian sentiment, but not valid in the corporate world that uses > managed hosting because they are focused on operating their business and > not on having to spend time, resources and management expertise in > securing and running

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Ben Ramsey
> On Mar 23, 2020, at 13:09, Mike Schinkel wrote: > >> On Mar 23, 2020, at 1:51 PM, Ben Ramsey wrote: >> >>> On Mar 23, 2020, at 12:34, Mike Schinkel wrote: >>> >>> Rowan, >>> >>> Based on your responses now I am not at all sure what you were driving at. >>> >>> I think you are making detai

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Mike Schinkel
> On Mar 23, 2020, at 1:51 PM, Ben Ramsey wrote: > >> On Mar 23, 2020, at 12:34, Mike Schinkel wrote: >> >> Rowan, >> >> Based on your responses now I am not at all sure what you were driving at. >> >> I think you are making detail points because of nuances of PECL and bundled >> vs. unbundl

[PHP-DEV] [VOTE] Userspace operator overloading

2020-03-23 Thread jan.h.boehmer
Hi internals, I have opened voting on https://wiki.php.net/rfc/userspace_operator_overloading, which allows users to overload operators in their own classes. Voting closes on 2020-04-06. Regards, Jan Böhmer -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://ww

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Ben Ramsey
> On Mar 23, 2020, at 12:34, Mike Schinkel wrote: > > Rowan, > > Based on your responses now I am not at all sure what you were driving at. > > I think you are making detail points because of nuances of PECL and bundled > vs. unbundled etc, while I was trying to make a higher level case. > >

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Mike Schinkel
Rowan, Based on your responses now I am not at all sure what you were driving at. I think you are making detail points because of nuances of PECL and bundled vs. unbundled etc, while I was trying to make a higher level case. So let me restate the thesis: "When discussing a potential new featur

Re: [PHP-DEV] PHP 8.0 Release Manager Selection

2020-03-23 Thread Kalle Sommer Nielsen
Den tor. 19. mar. 2020 kl. 20.16 skrev Ben Ramsey : > I am throwing my name in the hat for consideration as one of the PHP 8.0 > release managers. > > I’ve interacted with many of you through the PHP project and the greater PHP > community for the better part of 17 years. I am by no means a C gu

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Rowan Tommins
On Mon, 23 Mar 2020 at 16:04, Mike Schinkel wrote: > > The original point of this thread was to make the case that PECL > extensions are _not_ a viable alternative to including features in core. > > It does not matter if a host installs _some_ unbundled PECL extensions. > What matters is that the

Re: [PHP-DEV] PHP 8.0 Release Manager Selection

2020-03-23 Thread Joe Ferguson
Hello Internals, I'd like to also throw my hat in the ring for 8.0 Release Manager. I've quietly followed internals for a couple of years and have most recently been involved with FIG as a project representative for the Phergie IRC Project. Having recently retired Phergie I've stepped back from FI

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Mike Schinkel
> On Mar 23, 2020, at 1:00 PM, Pedro Magalhães wrote: > >> On Mon, Mar 23, 2020 at 4:03 PM Mike Schinkel wrote: >> Once a managed host has a working platform they are loath to change it >> because something might break and create dogged wntime for their customers >> that is potentially devasta

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Pedro Magalhães
On Mon, Mar 23, 2020 at 4:03 PM Mike Schinkel wrote: > Once a managed host has a working platform they are loath to change it > because something might break and create dogged wntime for their customers > that is potentially devastating for their business. > > Thus managed hosts rarely add things

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Mike Schinkel
> On Mar 23, 2020, at 8:01 AM, Rowan Tommins wrote: > > On Mon, 23 Mar 2020 at 09:31, Mike Schinkel wrote: > >> Assuming those 6 are all the PECL packages used, then that represents 1.5% >> of available PECL packages, given there are currently 398 packages on PECL. >> >> Or said another way, t

Re: [PHP-DEV] Re: [VOTE] Object-based token_get_all() alternative

2020-03-23 Thread Larry Garfield
On Mon, Mar 23, 2020, at 9:07 AM, Nikita Popov wrote: > On Fri, Mar 6, 2020 at 10:33 AM Nikita Popov wrote: > > > Hi internals, > > > > I've opened voting on https://wiki.php.net/rfc/token_as_object, which > > adds a new object-based interface to the tokenizer. Voting closes on > > 2020-03-20. >

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Mike Schinkel
> On Mar 23, 2020, at 6:36 AM, Remi Collet wrote: > > Le 21/03/2020 à 23:52, Mike Schinkel a écrit : >>> On Mar 21, 2020, at 5:59 PM, tyson andre wrote: >>> FROM: Re: [PHP-DEV] [RFC] is_literal() >>> >>> And if it can be implemented as a PECL module, that would be more >>> preferable to me tha

[PHP-DEV] Re: [RFC] Validation for abstract trait methods

2020-03-23 Thread Nikita Popov
On Fri, Feb 7, 2020 at 11:32 AM Nikita Popov wrote: > Hi internals, > > I've sent a mail about this before, but as this turned into a bit of a > larger change (also allowing "abstract private" methods in traits) and > there's some backwards compatibility impact, I've created a proper RFC for > th

[PHP-DEV] Re: [VOTE] Object-based token_get_all() alternative

2020-03-23 Thread Nikita Popov
On Fri, Mar 6, 2020 at 10:33 AM Nikita Popov wrote: > Hi internals, > > I've opened voting on https://wiki.php.net/rfc/token_as_object, which > adds a new object-based interface to the tokenizer. Voting closes on > 2020-03-20. > This RFC has been accepted unanimously, with 47 votes in favor. Ba

RE: [PHP-DEV] Making mysqli easier to use with parameters

2020-03-23 Thread Joel Hutchinson
Hey Craig, I think this might be in the same vein as something I'd love to see done (PDO already does this). Proposed it a while back and have talked to a few internals folks about it off and on https://externals.io/message/107857#107857 Either way, mysqli lacks any proper way to do dynamic bin

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Rowan Tommins
On Mon, 23 Mar 2020 at 09:31, Mike Schinkel wrote: > > Assuming those 6 are all the PECL packages used, then that represents 1.5% > of available PECL packages, given there are currently 398 packages on PECL. > > Or said another way, there are 392 of 398 PECL packages that are > unavailable when h

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Remi Collet
Le 21/03/2020 à 23:52, Mike Schinkel a écrit : >> On Mar 21, 2020, at 5:59 PM, tyson andre wrote: >> FROM: Re: [PHP-DEV] [RFC] is_literal() >> >> And if it can be implemented as a PECL module, that would be more preferable >> to me than a core module of php. >> If it was in core, having to suppo

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Remi Collet
Le 22/03/2020 à 00:15, Ben Ramsey a écrit : > IMO, PECL is an antiquated system that needs a successor, The tool, probably BTW, the "forge" or "package registry" still make lot of sense and IMHO have lot of value. Remi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-23 Thread Rowan Tommins
On Mon, 23 Mar 2020 at 00:23, Mike Schinkel wrote: > > > On Mar 22, 2020, at 7:08 PM, Rowan Tommins > wrote: > > > > I glanced at a couple of the WordPress hosts you mentioned, and couldn't > find a clear description of their PHP configurations, but I suspect it's > similar - some "bundled" exte