Re: [PHP-DEV] [RFC] Deprecations for PHP 8.0

2020-06-06 Thread Kalle Sommer Nielsen
Den søn. 7. jun. 2020 kl. 05.58 skrev Theodore Brown : > So while I understand the desire to make upgrades as easy as possible, > I'm not convinced it's a good idea to delay these deprecations for > a later release. At the very least if deprecation is likely the PHP > manual should say something ab

Re: [PHP-DEV] [RFC] Deprecations for PHP 8.0

2020-06-06 Thread Theodore Brown
On Fri, June 5, 2020 at 4:24 AM Nikita Popov wrote: > On Fri, Jun 5, 2020 at 11:14 AM Nicolas Grekas > wrote: > > >> It's that time of year again. Feature freeze is looming, so it's time to > >> talk about deprecations! > >> > >> https://wiki.php.net/rfc/deprecations_php_8_0 > > > > Thanks for t

Re: [PHP-DEV] Refactoring run-tests.php

2020-06-06 Thread Max Semenik
On Fri, Jun 5, 2020 at 7:52 PM Sara Golemon wrote: > This is a perennial topic and I don't want to discourage you,BUT... > run-tests.php has a disturbing number of modes and edgecases, and the > preference has traditionally been for small movements which are easily > understandable individually.

Re: [PHP-DEV] [RFC] Nullsafe operator

2020-06-06 Thread Ilija Tovilo
Hi Peter > Wouldn't it make more sense to make `isset` smarter? So that it can > handle these situations just like it would with array access. That > way you could use the null coalescing operator as well. Both of those are valid approaches. I do prefer the ?-> operator for two reasons. 1. ??

Re: [PHP-DEV] [RFC] Nullsafe operator

2020-06-06 Thread Ilija Tovilo
Hi Nikita >> I'd like to introduce another RFC I've been working on: >> https://wiki.php.net/rfc/nullsafe_operator > > The semantics look reasonable to me, but I'd recommend including some > discussion on the rationale behind the short-circuiting behavior in the > RFC. That is, what the options ar

Re: [PHP-DEV] [RFC] Shorter attribute syntax

2020-06-06 Thread Rowan Tommins
Hi Theodore, Firstly, sorry if my previous e-mail came across overly negative, I wasn't in the best mood when I wrote it (gestures vaguely at the state of the world). I think this is possibly the best line I've read all week: Well, I guess the line between objective and subjective may some

Re: [PHP-DEV] RFC proposal: fsync support for file resources

2020-06-06 Thread Christoph M. Becker
On 06.06.2020 at 01:39, David Gebler wrote: > Thanks, my browser was automatically populating the wrong email, I've now > registered. Apparently I need to request karma now? Username dwgebler. RFC karma granted. I'm not sure whether this feature needs an RFC, though. Maybe just start with a pul