Re: [PHP-DEV] [RFC] [DISCUSSION] Deprecate PHP's short open tags V2

2019-07-25 Thread Terry Cullen
From: vsura...@gmail.com Sent: Wednesday, 24 July 2019 1:51 PM To: 'G. P. B.' ; 'PHP internals' Subject: RE: [PHP-DEV] [RFC] [DISCUSSION] Deprecate PHP's short open tags V2 > -Original Message- > From: G. P. B. > Sent: Tuesday, July 23, 2019 8:55 PM

Re: [PHP-DEV] Re: PHP 7.4 FEATURE FREEZE ?

2019-07-25 Thread Jan Ehrhardt
Remi Collet in php.internals (Wed, 24 Jul 2019 08:15:36 +0200): >Le 23/07/2019 à 19:13, Jan Ehrhardt a écrit : >> Derick Rethans in php.internals (Tue, 23 Jul 2019 10:00:12 +0100 (BST)): >>> DOs: >>> - Test test test test >> >> There are 2 more extensions broken in beta1 that were OK in alpha3: >>

Re: [PHP-DEV] Re: [RFC] Explicit call-site send-by-ref syntax

2019-07-25 Thread Rowan Collins
On Thu, 25 Jul 2019 at 16:18, Nikita Popov wrote: >> That would stop people having to write `$matches = []; preg_match($foo, $bar, $matches);` > Eww, please don't write code like that... Huh? How would you write it then? The behavior of type annotations should also change, "out T $x" should >

Re: [PHP-DEV] Re: [RFC] Explicit call-site send-by-ref syntax

2019-07-25 Thread Nikita Popov
On Thu, Jul 25, 2019 at 4:41 PM Rowan Collins wrote: > On Thu, 25 Jul 2019 at 14:48, Nikita Popov wrote: > > > > I think nowadays it is well known that by-reference passing is to be > > avoided and I don't see it particularly commonly in user code. > By-reference > > passing is mainly used when

Re: [PHP-DEV] Re: [RFC] Explicit call-site send-by-ref syntax

2019-07-25 Thread Rowan Collins
On Thu, 25 Jul 2019 at 14:48, Nikita Popov wrote: > I think nowadays it is well known that by-reference passing is to be > avoided and I don't see it particularly commonly in user code. By-reference > passing is mainly used when it is needed to interact with existing > by-reference functions such

Re: [PHP-DEV] Re: [RFC] Explicit call-site send-by-ref syntax

2019-07-25 Thread Nikita Popov
On Thu, Jul 25, 2019 at 3:14 PM Rowan Collins wrote: > On Thu, 25 Jul 2019 at 13:32, Nikita Popov wrote: > > > I think it can either go forward as-is, in that it constitutes the first > > step towards bringing sanity to by-reference passing in the long term. > > > > > Hi Nikita, > > As I mention

[PHP-DEV] Re: [RFC] Namespace-scoped declares, again

2019-07-25 Thread Nikita Popov
On Mon, Dec 11, 2017 at 2:43 PM Nikita Popov wrote: > Hi internals! > > Some time ago I introduced the following proposal for namespace-scoped > declares: > > https://wiki.php.net/rfc/namespace_scoped_declares > > The idea is to allow specifying declare directives for a whole library or > pro

Re: [PHP-DEV] Re: [RFC] Explicit call-site send-by-ref syntax

2019-07-25 Thread Rowan Collins
On Thu, 25 Jul 2019 at 13:32, Nikita Popov wrote: > I think it can either go forward as-is, in that it constitutes the first > step towards bringing sanity to by-reference passing in the long term. > Hi Nikita, As I mentioned before, I think this RFC is 10 years too late: if this goes ahead, w

Re: [PHP-DEV] Re: [RFC] Explicit call-site send-by-ref syntax

2019-07-25 Thread G. P. B.
On Thu, 25 Jul 2019 at 14:32, Nikita Popov wrote: > On Wed, Dec 6, 2017 at 8:49 PM Nikita Popov wrote: > > > Hi internals, > > > > I'd like propose optional support for explicitly marking by-reference > > argument passing at the call-site, in addition to the declaration-site: > > > > https:/

[PHP-DEV] Re: [RFC] Explicit call-site send-by-ref syntax

2019-07-25 Thread Nikita Popov
On Wed, Dec 6, 2017 at 8:49 PM Nikita Popov wrote: > Hi internals, > > I'd like propose optional support for explicitly marking by-reference > argument passing at the call-site, in addition to the declaration-site: > > https://wiki.php.net/rfc/explicit_send_by_ref > > In short, while currentl

Re: [PHP-DEV] Re: hebrevc() and other 'contentious' 7.4 proposed deprecations

2019-07-25 Thread Rowan Collins
On Tue, 23 Jul 2019 at 12:12, Johannes Schlüter wrote: > A good reading on consensus in technical discussions is this: > https://tools.ietf.org/html/rfc7282 I just skimmed that document, and I think there's a lot we could learn from it, if we had the confidence to truly reform. You could pret

Re: [PHP-DEV] [RFC] [DISCUSSION] Deprecate PHP's short open tags V2

2019-07-25 Thread Rowan Collins
On Wed, 24 Jul 2019 at 22:40, Peter Cowburn wrote: > Hypothetically, it can be re-evaluated sooner, particularly if "everyone" > in the PHP ecosystem appears to respond very well once the deprecation and > error stages happen. In fact, I wouldn't want "but we voted for 9.0" to be > a point being

[PHP-DEV] PHP 7.4.0beta1 is available for testing

2019-07-25 Thread Derick Rethans
PHP 7.4.0beta1 has just been released and can be downloaded from: Or use the git tag: php-7.4.0beta1 Windows binaries are available at: Please test it carefully, and report any bugs in the bug system. 7.4.0beta2 should be ex