Re: [PHP-DEV] [VOTE] Deprecate dynamic properties

2021-11-14 Thread Pierre Joye
On Sun, Nov 14, 2021, 11:42 PM Rowan Tommins wrote: > On 14/11/2021 11:48, Pierre Joye wrote: > > Also I do see it as a kind of strict mode addition and the depreciation > as > > well could be strict mode only. > > > A quick reminder that PHP has no "strict mode". It has a "strict_types" > declar

Re: [PHP-DEV] Re: Unwrap reference after foreach

2021-11-14 Thread Rowan Tommins
On 14/11/2021 19:49, Côme Chilliet wrote: Le 14 novembre 2021 18:13:18 GMT+01:00, Nikita Popov a écrit : I have ultimately decided to withdraw this proposal. This is sad to hear, because this is a really big footgun, which has hit me in the past. I ended up adding a codestyle rule forcing by

Re: [PHP-DEV] Re: Unwrap reference after foreach

2021-11-14 Thread Côme Chilliet
Le 14 novembre 2021 18:13:18 GMT+01:00, Nikita Popov a écrit : >I have ultimately decided to withdraw this proposal. > >Regards, >Nikita This is sad to hear, because this is a really big footgun, which has hit me in the past. I ended up adding a codestyle rule forcing byref foreach to be follo

Re: [PHP-DEV] PHP 8.1 and PECL ext builds for Windows

2021-11-14 Thread Christoph M. Becker
On 14.11.2021 at 19:28, tyson andre wrote: > With the release for php 8.1.0 stable happening Nov 25 > (https://wiki.php.net/todo/php81), > what decision ended up being made (I couldn't tell if it was still being > discussed from the thread)? > To publish Windows DLLs for PECLs for PHP 8.1 after

Re: [PHP-DEV] PHP 8.1 and PECL ext builds for Windows

2021-11-14 Thread tyson andre
Hi internals, > > Removing the centralized PECL builder and dependency manager would most > > likely lead to a huge regression in the support and manageability. Right > > now there's one place pecl.php.net to go for the non core extension builds > > and any dependencies are guaranteed to be non

[PHP-DEV] Re: [RFC] Migrating to GitHub issues

2021-11-14 Thread Nikita Popov
On Tue, Nov 2, 2021 at 3:19 PM Nikita Popov wrote: > Hi internals, > > The migration from bugs.php.net to GitHub issues has already been > discussed in https://externals.io/message/114300 and has already happened > for documentation issues. > > I'd like to formally propose to use GitHub for PHP i

[PHP-DEV] Re: Unwrap reference after foreach

2021-11-14 Thread Nikita Popov
On Wed, Nov 10, 2021 at 10:06 AM Nikita Popov wrote: > On Fri, Aug 13, 2021 at 3:28 PM Nikita Popov wrote: > >> Hi internals, >> >> I'd like to address a common footgun when using foreach by reference: >> https://wiki.php.net/rfc/foreach_unwrap_ref >> >> This addresses the issue described in the

Re: [PHP-DEV] [VOTE] Deprecate dynamic properties

2021-11-14 Thread Rowan Tommins
On 14/11/2021 11:48, Pierre Joye wrote: Also I do see it as a kind of strict mode addition and the depreciation as well could be strict mode only. A quick reminder that PHP has no "strict mode". It has a "strict_types" declaration, which is probably misnamed, and should be something like "sc

Re: [PHP-DEV] [VOTE] Deprecate dynamic properties

2021-11-14 Thread Pierre Joye
Hi Nikita, On Fri, Nov 12, 2021, 11:34 PM Nikita Popov wrote: FWIW I think we should always deprecate things as soon as possible, to give > people the maximum amount of awareness and time to address the issue before > the actual removal occurs. I voted no however I agree on this part, with a s