Re: [PHP-DEV] Re: phpenmod/phpdismod

2019-02-19 Thread Johannes Schlüter
On Mo, 2019-02-18 at 23:39 +0100, Legale.legale wrote: > I have made super simple OS independent phpenmod.  >   > Https://github.com/legale/phpenmod This won't replace Ubuntu's version since on Ubuntu different SAPIs use different ini dirs. Functionality-wise it is also no replacement as Ubuntu's

Re: [PHP-DEV] Allows arrays to be type-hinted with interfaces mimicking Array behaviour

2019-02-19 Thread Larry Garfield
On Tuesday, February 19, 2019 3:38:16 AM CST Rowan Collins wrote: > On Tue, 19 Feb 2019 at 02:44, Larry Garfield wrote: > > Yes, a lot of existing code uses arrays as anonymous structs. Such code > > is, > > IMO, "doing it wrong". That includes PHP default behavior in many cases. > > The > > sup

Re: [PHP-DEV] Re: phpenmod/phpdismod

2019-02-19 Thread Peter Kokot
On Mon, 18 Feb 2019, 23:39 Legale.legale I have made super simple OS independent phpenmod. > > Https://github.com/legale/phpenmod > On Feb 18, 2019 23:31, Gabriel Ostrolucky wrote: > > > > I'm fan of this idea. I miss this in any other non-debian distro. > > What nobody mentioned yet, similar scr

[PHP-DEV] Re: [RFC] New custom object serialization mechanism

2019-02-19 Thread Nicolas Grekas
Le mar. 19 févr. 2019 à 11:31, Nikita Popov a écrit : > On Mon, Feb 18, 2019 at 4:12 PM Nicolas Grekas < > nicolas.grekas+...@gmail.com> wrote: > >> Hi Nikita, >> >> I'd like to propose a new custom object serialization mechanism intended >>> to replace the broken Serializable interface: >>> >>>

[PHP-DEV] Re: [RFC] New custom object serialization mechanism

2019-02-19 Thread Nikita Popov
On Mon, Feb 18, 2019 at 4:12 PM Nicolas Grekas wrote: > Hi Nikita, > > I'd like to propose a new custom object serialization mechanism intended >> to replace the broken Serializable interface: >> >> https://wiki.php.net/rfc/custom_object_serialization >> >> This was already previously discussed i

[PHP-DEV] [VOTE] Consistent type errors for internal functions

2019-02-19 Thread Nikita Popov
Hi internals, I've opened the vote on the https://wiki.php.net/rfc/consistent_type_errors RFC. Voting will be open until 2019-03-05. Please see https://externals.io/message/104175 for the corresponding discussion thread. Regards, Nikita

Re: [PHP-DEV] Allows arrays to be type-hinted with interfaces mimicking Array behaviour

2019-02-19 Thread Rowan Collins
On Tue, 19 Feb 2019 at 02:44, Larry Garfield wrote: > Yes, a lot of existing code uses arrays as anonymous structs. Such code > is, > IMO, "doing it wrong". That includes PHP default behavior in many cases. > The > super-globals are one of the exceptions, as since by definition you don't > know

Re: [PHP-DEV] Re: phpenmod/phpdismod

2019-02-19 Thread AllenJB
Counter-view: I dislike enmod/dismod and think they're unnecessary complexity. I like that, on almost every distro, as soon as an extension is installed, it's enabled and I don't have to "jump through extra hoops". I dislike tools like this that, as I see it, have no purpose other than to avoid