Re: [PHP-DEV] wiki.php.net

2019-02-17 Thread Niklas Keller
Hey all, the upgrade to the latest release is live now. Please report any issues directly to me. Regards, Niklas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV][RFC] Allow void return type variance

2019-02-17 Thread Rowan Collins
On 04/02/2019 03:22, Wes wrote: Recent events convinced me to write this RFC :P Please have a read here https://wiki.php.net/rfc/allow-void-variance I was thinking about this this afternoon, and I think the current behaviour is actually correct, and this constraint should stay invariant. M

Re: [PHP-DEV] [RFC] Consistent type errors for internal functions

2019-02-17 Thread Nikita Popov
On Sat, Feb 16, 2019 at 6:34 PM Ben Ramsey wrote: > > On Feb 5, 2019, at 05:22, Nikita Popov wrote: > > > > Hi internals, > > > > I'd like to bring forward the following proposal for PHP 8, which will > make > > (zpp) parameter parsing failures always result in a TypeError (rather > than > > gen

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

2019-02-17 Thread Girgias
Greetings internals, I would like to have your opinion on being able to type hint arrays and objects which implement array-like interfaces (notably ArrayAccess, Countable, and Iterator) as currently if a function /method only needs one specific feature of an array and is willing to accept array-li