Re: [PHP-DEV] RFC Raised for str_starts_with and str_ends_with

2020-04-17 Thread will
On 2020-04-05 21:23, w...@wkhudgins.info wrote: On 2020-03-26 04:19, Guilliam Xavier wrote: On Thu, Mar 26, 2020 at 9:54 AM Nikita Popov wrote: On Thu, Mar 26, 2020 at 3:36 AM wrote: > Hi, > > Hope everyone is doing alright. I just raised a new RFC > (https://wiki.php.net/rfc/add_str_starts

[PHP-DEV] PHP 7.2.30 Released!

2020-04-17 Thread Sara Golemon
The PHP development team announces the immediate availability of PHP 7.2.30. This is a security bug fix release. All PHP 7.2 users are encouraged to upgrade to this version. For source downloads of PHP 7.2.30 please visit our downloads page. Windows binaries can be found on the PHP for Windows si

Re: [PHP-DEV] Re: [RFC] Attributes v2

2020-04-17 Thread Theodore Brown
On Fri, Apr 17, 2020 at 12:43 PM Benjamin Eberlei wrote: > On Fri, Apr 17, 2020 at 6:11 PM Theodore Brown wrote: > > > Can you provide an example of an attribute name containing whitespace > > that would be allowed with the shift left/right tokens but not with the > > attribute token? > > This

Re: [PHP-DEV] Re: [RFC] Attributes v2

2020-04-17 Thread Benjamin Eberlei
On Fri, Apr 17, 2020 at 6:11 PM Theodore Brown wrote: > On Fri, Apr 17, 2020 at 5:49 AM Benjamin Eberlei > wrote: > > > As there has only been minimal new discussion after the last changes to > the > > RFC I wanted to give a heads up that I will open the vote on Monday > > afternoon. > > > > If

Re: [PHP-DEV] Re: [RFC] Attributes v2

2020-04-17 Thread Rowan Tommins
On Fri, 17 Apr 2020 at 17:11, Theodore Brown wrote: > Consider this example using the shift left/right token syntax: > > ```php > <> 1, 4 << 1)>><> 1, 4 << 1)>> > function foo() {} > ``` > > To me the same thing using the T_ATTRIBUTE syntax is far more readable: > > ```php > @:BitShiftExample(4 >

Re: [PHP-DEV] Re: [RFC] Attributes v2

2020-04-17 Thread Theodore Brown
On Fri, Apr 17, 2020 at 5:49 AM Benjamin Eberlei wrote: > As there has only been minimal new discussion after the last changes to the > RFC I wanted to give a heads up that I will open the vote on Monday > afternoon. > > If you have further remarks or questions about the RFC, please let me know.

[PHP-DEV] Re: [RFC] Attributes v2

2020-04-17 Thread Benjamin Eberlei
As there has only been minimal new discussion after the last changes to the RFC I wanted to give a heads up that I will open the vote on Monday afternoon. If you have further remarks or questions about the RFC, please let me know. On Mon, Mar 9, 2020 at 3:42 PM Benjamin Eberlei wrote: > Hi all,

Re: [PHP-DEV] Resurrecting named parameters

2020-04-17 Thread Nikita Popov
On Thu, Apr 9, 2020 at 7:21 AM Stanislav Malyshev wrote: > Hi! > > > 2. Throw a notice if a parameter name is changed. While LSP violations > are > > normally fatal errors (in PHP 8), we could use a lower-severity > diagnostic > > for this case, that allows code to still run, but makes developers