Re: [PHP-DEV] [VOTE] Deprecations for PHP 8.1

2021-07-05 Thread Mike Schinkel
Replying in one long email to all three who replied to me: > On Jul 5, 2021, at 8:03 AM, Guilliam Xavier wrote: > Hi Mike, > > Your links speak *in general*. However this is *specifically for PHP*: >

[PHP-DEV] [RFC] [VOTE] is_literal

2021-07-05 Thread Craig Francis
Hi Internals, I have opened voting on https://wiki.php.net/rfc/is_literal for the is-literal function. The vote closes 2021-07-19 The proposal is to add the function is_literal(), a simple way to identify if a string was written by a developer, removing the risk of a variable containing an

Re: [PHP-DEV] [RFC] Pipe Operator, take 2

2021-07-05 Thread Larry Garfield
On Sat, Jul 3, 2021, at 9:12 PM, Larry Garfield wrote: > On Mon, Jun 7, 2021, at 2:00 PM, Larry Garfield wrote: > > Hi folks. Me again. > > > > A year ago, I posted an RFC for a pipe operator, |>, aka function > > concatenation. At the time, the main thrust of the feedback was "cool, > > like,

Re: [PHP-DEV] [VOTE] First-class callable syntax

2021-07-05 Thread Rowan Tommins
On 05/07/2021 15:35, Nikita Popov wrote: The actual echo syntax is echo "Foo". PHP allows you to write echo("Foo") in the same way it allows you to write echo("Foo"). Don't do it :) Indeed. Note that this is valid: echo "hello", " ", "world"; But this is not: echo("hello", " ",

Re: [PHP-DEV] [VOTE] First-class callable syntax

2021-07-05 Thread Nikita Popov
On Mon, Jul 5, 2021 at 4:14 PM Sara Golemon wrote: > On Fri, Jul 2, 2021 at 5:51 AM Nikita Popov wrote: > >> As the partial function application RFC has not been accepted, I have >> opened voting on https://wiki.php.net/rfc/first_class_callable_syntax. >> The >> vote closes on 2021-07-16. >> >>

Re: [PHP-DEV] [VOTE] First-class callable syntax

2021-07-05 Thread Sara Golemon
On Fri, Jul 2, 2021 at 5:51 AM Nikita Popov wrote: > As the partial function application RFC has not been accepted, I have > opened voting on https://wiki.php.net/rfc/first_class_callable_syntax. The > vote closes on 2021-07-16. > > This RFC uses a syntax that is forward-compatible with partial

Re: [PHP-DEV] [VOTE] Deprecations for PHP 8.1

2021-07-05 Thread Patrick ALLAERT
Le lun. 5 juil. 2021 à 13:39, Mike Schinkel a écrit : > > On Jul 5, 2021, at 7:14 AM, Rowan Tommins > wrote: > > > > On 05/07/2021 11:46, Patrick ALLAERT wrote: > >> Did we ever deprecated something without the immediate intention of > >> removing it? > > > > > > What would that even mean? > >

Re: [PHP-DEV] [VOTE] Deprecations for PHP 8.1

2021-07-05 Thread Rowan Tommins
On 05/07/2021 12:39, Mike Schinkel wrote: know that you, and others on this list, have chosen to define deprecation as including removal, but that is actually not the accepted definition on the web, nor is it in any way a requirement, it is just your preference. I stand corrected, I had

Re: [PHP-DEV] [VOTE] Readonly properties

2021-07-05 Thread Nikita Popov
On Mon, Jul 5, 2021 at 1:56 PM Patrick ALLAERT wrote: > Le jeu. 1 juil. 2021 à 12:23, Nikita Popov a > écrit : > >> Hi internals, >> >> I have opened voting on https://wiki.php.net/rfc/readonly_properties_v2. >> The vote closes 2021-07-15. >> >> See https://externals.io/message/114729 for the

Re: [PHP-DEV] [VOTE] Deprecations for PHP 8.1

2021-07-05 Thread G. P. B.
On Mon, 5 Jul 2021 at 13:39, Mike Schinkel wrote: > > On Jul 5, 2021, at 7:14 AM, Rowan Tommins > wrote: > > > > On 05/07/2021 11:46, Patrick ALLAERT wrote: > >> Did we ever deprecated something without the immediate intention of > >> removing it? > > > > > > What would that even mean? > > It

Re: [PHP-DEV] [VOTE] Deprecations for PHP 8.1

2021-07-05 Thread Guilliam Xavier
On Mon, Jul 5, 2021 at 1:39 PM Mike Schinkel wrote: > > On Jul 5, 2021, at 7:14 AM, Rowan Tommins > wrote: > > > > On 05/07/2021 11:46, Patrick ALLAERT wrote: > >> Did we ever deprecated something without the immediate intention of > >> removing it? > > > > > > What would that even mean? > > It

Re: [PHP-DEV] [VOTE] Readonly properties

2021-07-05 Thread Patrick ALLAERT
Le jeu. 1 juil. 2021 à 12:23, Nikita Popov a écrit : > Hi internals, > > I have opened voting on https://wiki.php.net/rfc/readonly_properties_v2. > The vote closes 2021-07-15. > > See https://externals.io/message/114729 for the discussion thread on this > proposal. I think a decent tl;dr is that

Re: [PHP-DEV] [VOTE] Deprecations for PHP 8.1

2021-07-05 Thread Mike Schinkel
> On Jul 5, 2021, at 7:14 AM, Rowan Tommins wrote: > > On 05/07/2021 11:46, Patrick ALLAERT wrote: >> Did we ever deprecated something without the immediate intention of >> removing it? > > > What would that even mean? It would mean that although the functions are available and allowed, they

Re: [PHP-DEV] [VOTE] Deprecations for PHP 8.1

2021-07-05 Thread Rowan Tommins
On 05/07/2021 11:46, Patrick ALLAERT wrote: Did we ever deprecated something without the immediate intention of removing it? What would that even mean? Surely a deprecation, by definition, is a notice that something is going to be removed. There used to be an E_STRICT category, which

Re: [PHP-DEV] [VOTE] Deprecations for PHP 8.1

2021-07-05 Thread Patrick ALLAERT
Le lun. 5 juil. 2021 à 11:43, Dmitry Stogov a écrit : > Return void by reference should be disabled (not deprecated) > I second that.

Re: [PHP-DEV] [VOTE] Deprecations for PHP 8.1

2021-07-05 Thread Patrick ALLAERT
Le mer. 30 juin 2021 à 11:32, Nikita Popov a écrit : > Hi internals, > > I have opened voting on https://wiki.php.net/rfc/deprecations_php_8_1. The > vote closes on 2021-07-14. > > This RFC is a collection of various deprecation suggestions from different > people. Each deprecation is voted

Re: [PHP-DEV] [VOTE] Deprecations for PHP 8.1

2021-07-05 Thread Marco Pivetta
Hey Nikita, On Wed, Jun 30, 2021 at 11:32 AM Nikita Popov wrote: > Hi internals, > > I have opened voting on https://wiki.php.net/rfc/deprecations_php_8_1. The > vote closes on 2021-07-14. > > This RFC is a collection of various deprecation suggestions from different > people. Each deprecation

Re: [PHP-DEV] [VOTE] Readonly properties

2021-07-05 Thread Patrick ALLAERT
Le jeu. 1 juil. 2021 à 12:23, Nikita Popov a écrit : > Hi internals, > > I have opened voting on https://wiki.php.net/rfc/readonly_properties_v2. > The vote closes 2021-07-15. > > See https://externals.io/message/114729 for the discussion thread on this > proposal. I think a decent tl;dr is that

Re: [PHP-DEV] [VOTE] Deprecations for PHP 8.1

2021-07-05 Thread Dmitry Stogov
Return void by reference should be disabled (not deprecated) On Wed, Jun 30, 2021 at 12:32 PM Nikita Popov wrote: > Hi internals, > > I have opened voting on https://wiki.php.net/rfc/deprecations_php_8_1. The > vote closes on 2021-07-14. > > This RFC is a collection of various deprecation