[PHP-DEV] PHP 8.0.11RC1 Available for testing

2021-09-09 Thread Sara Golemon
PHP 8.0.11RC1 has just been released and can be downloaded from:

https://downloads.php.net/~pollita/

Or use the git tag: php-8.0.11RC1

Windows binaries are available at https://windows.php.net/qa#php-8.0

Please test it carefully, and report any bugs in the bug system:
https://bugs.php.net.

Hash values and PGP signatures can be found below or at:
https://gist.github.com/sgolemon/2fa8a0f29d635c3da844fbdaf0bc6609

8.0.11 should be expected in 2 weeks, i.e. on September 23rd 2021.

Thank you, and happy testing!

Regards,
Gabriel Caruso & Sara Golemon

php-8.0.11RC1.tar.gz
SHA256 hash:
17c70798f2cd7f99824df62a75aa89476916f88a01c791c32a8baefb4af2dbc4
PGP signature:
-BEGIN PGP SIGNATURE-

iQJEBAABCgAuFiEEFyn4OTjaROJ7oPTT29s5dHDRIXIFAmE3gQMQHHBvbGxpdGFA
cGhwLm5ldAAKCRDb2zl0cNEhcvCqD/9KB1vydZwgNA1iNwwmcwVlCx+LV26kfw0+
kZOs8q+nrnquINkT/+bFFBWFLBGUfxHUFrfVrEpTtoiAupEWt8/QKDIiEnmr1+Pz
oJL7Tjne2/uAl/lcgVhM15PLMiz4rCYXFoFYaKRJEM5Aczw7xs7qhTKrLKPjWQgu
Jfj9W2bjLCGXLoFyHth9MF8dLPjpdX+2RKsuvCjdqZPAAw0TQM0uheM2ysi1rXUk
lJN7PSl08B/nKfSILxNu+++/dvjr+Km6Cdrlr4GAOyzpO4O9EOXQ1nmHz9UZyTHv
fAB91f/SrdW6eQxGQOvTaQLHkQcPb2cm6+6XPOnpmn7fQNemr0MBdHuLdPsbtn8L
5tFtLxYQ6A6EBlW58XOYiYU52bS2INYvE8D8pYMl6N/Dn2+JbKYS1ZcMtEY/sYE0
3IytpCKGPUXAmzM3XPlnwuSLtRbTlmwim5uUh7ftAbjKG8tkouir3tRRmM2z4rGH
+NvyQaaejq66/ecukqPfFY9e1d6ZbwgvQrSYkh0ITZYQCq8iaX1Mqnvlpe54nFLU
Vc/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

php-8.0.11RC1.tar.xz
SHA256 hash:
d8f19c350ff7abf7282a33aff5fcf218ee24e72b1c860e1ec083c4f3533bb665
PGP signature:
-BEGIN PGP SIGNATURE-

iQJEBAABCgAuFiEEFyn4OTjaROJ7oPTT29s5dHDRIXIFAmE3gQgQHHBvbGxpdGFA
cGhwLm5ldAAKCRDb2zl0cNEhckrYEADifGd6jeXFXPnRdZc+WNkI66ESk1WETS4r
j1dAe2n2rQr61jt9c8DtFWEscCv5apSxYBXG6g9b9b2aFY9pmGtSmIKJQksb/jzn
csj8zyy8TjfVyZAUHdKELeoDj9UfIA8NznRRFjd5opzGF3c1qCrnYXSEXPK/jFxc
2+1VKukyjyRdNW/zR91nHKuBxoOeE35hCpBOagpZsPIYBl5KayZDTLxJfDNSG64x
n5xAiECc5CWfdeJoaCCtRXUbUK9VYl/omD8cLkCPeybwzJTwaUgmS2xJz+xHw8rN
+BUOqE2W2ACkk9TB4AwM1ezNNh3JG2LFjasnEntIa315Tc2/zbyQ+2lfxUQNdFBB
u9MCN+1I5wx8R+tmGG2NADcX7MAZZAs1xcFMDlp+pM8nThgoph7gmlKz3oiqURND
MaomlSDPanCWftO4sMKuWsn5j3Z3NtDW8Y/7xJ/3gk04OqRUN+HlF6h9cjBm3wgJ
i6Hp2e0CvN+XLadKbtvTptLd55oB5gLPegf9QJ6fDdItWRAKguSAAmKhJypJW6Dz
CZfmnGNIMQFy8139FKE0WDCzsDFO2MH4fR01s7qIRKQZE/bF9q8Y8jjZ60TEMQIF
gfwuUgYNthaHnqXWBHjnTvpjFNZbW27+IvapPeddN3lBX2ZMLviZSAcaJ520rhIP
odt6YbQyIQ==
=sAMv
-END PGP SIGNATURE-


Re: [PHP-DEV] PHP 7.4.24RC1 is available for testing

2021-09-09 Thread Derick Rethans
Hi,

I sent this with the old (and wrong manifest), the real signature is 
correct online, and attached again too:

php-7.4.24RC1.tar.gz
SHA256 hash: 9c17c2f1972a3daef29979a7cd93f6562df6d1a62dab9a09b733abf53441bac3
PGP signature:
-BEGIN PGP SIGNATURE-

iQIzBAABCgAdFiEEWlKIB4H3VWCL+BX8kQ3rRvU+oxIFAmE4cbQACgkQkQ3rRvU+
oxKMNA/+LYClACSzGXDDmR/YH5jNQv4CNYM9OvIrWi52zn+R3B4mRcp7omv8wi72
kqJnXfti0UDGjjNqUX6swlZ3g17OIjjf4dY3XQdLu1IIdFMr/UkZ46a9ymfwcsCx
o8JwO9+9mV4/l4E9aEhJA9ufm9bD9bVpm8DIVL5nmQDLWh6E5QaZXqsTDl7EpPsE
Tz8ZglhyRy+GecU4QAxFGVSshd5lBUuX2u78U2aweBUHCMfIDtWuHl22jE6sQGT3
zcr/eYeundoJ70E7WyuEHJdVAmc9laO5rYt9osHgacSYXWilI3pVBEb7C2fDfGyG
m9PE3HQm/m6ltMpZNUN+P9FuLeoSMz27QTH0QphzTmZ/Joh1B1XKTB8RqPxtGyLp
HB49gdzytJQV1BBJL7YuQ6+pTj511TRFl02+Wj0Oo9pSSDOkH82XEolQdSJ0ov8J
2cBXof4VhcKZGzjECoRxvWqcBIYrZ4ozprXufJOFv2PG09hqHYZWpU84wzYh8YKq
ZQnzmFqTVcAktalHbSr3FuPj5y0HhDaRAIOeECWBDo79GL9p4nY2anx2OHuSs6IA
THmy3ED8muG5qgECjoRs6LrD720/iYAy98zV6U2wlu1IGsN1UFTMtC481whRV6ux
UC2WeHlr6KgNJ4gJv/L2KNfW9timlOpwF1ysoOoGRVJvu4kA0WE=
=vvN7
-END PGP SIGNATURE-

php-7.4.24RC1.tar.bz2
SHA256 hash: eeffab3c29d8d171332cd8470a043fbf6bc871d76e13fef519b99c051213779d
PGP signature:
-BEGIN PGP SIGNATURE-

iQIzBAABCgAdFiEEWlKIB4H3VWCL+BX8kQ3rRvU+oxIFAmE4cbAACgkQkQ3rRvU+
oxJdSxAAvXKiCdQ9+NkLNwx6Jpy6tWFPCOhHyz7bf35dhdqTVMC90hFRiYKWKGMt
6VAqg4wh8J9ijXqMvMa3CH6GGNo4koP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66pnlHLRli/uD5qZVTyta7g26yF3eNBKw4YzyQ7NtboPgaLlFcUEUznU
Npys9Ubu9BIqsr9l96MIdkjWJcSsce26erHoXYb60KiuUS1C8PIQAZpLk02mNk99
lfVVQ58yaho8KtgqF6KddvUnTdJCqHaI2rdA9/AVblhTEzoeYfRsf4443MdgG6lO
dG7fskAwj065/+el9LL4tYAXkX2Ob7HJQV7c00wj54EsmO4rybMaEfqESd/DH/qP
C7PAGVzQgVkSUaDePmr9FP6mDotAnhmljgJDH4H87LEptGZ45lIucARJLW8ekM1M
FDXruBVlcagl0Q2jhcMPV6iWClHYHHJMwJLAH/aAqQO18DjNRsL6S9nTE6ZIVDBN
IDreEm0ygyS3b/txx3fysYU6K2LusWA2XiKM5hh4/vcBHSZmx/E=
=UJdn
-END PGP SIGNATURE-


On Thu, 9 Sep 2021, Derick Rethans wrote:

> PHP 7.4.24RC1 has just been released and can be downloaded from:
> 
> 
> 
> Or use the git tag: php-7.4.24RC1
> 
> Windows binaries are available at: 
> 
> Please test it carefully, and report any bugs in the bug system at
> .
> 
> Hash values and PGP signatures can be found below or at
> .
> 
> 7.4.24 should be expected in 2 weeks, i.e. on September 23rd, 2021.
> 
> Thank you, and happy testing!
> 
> Regards,
> Derick Rethans
> 
> 

-- 
PHP 7.4 Release Manager
Host of PHP Internals News: https://phpinternals.news
Like Xdebug? Consider supporting me: https://xdebug.org/support
https://derickrethans.nl | https://xdebug.org | https://dram.io
twitter: @derickr and @xdebug

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php



[PHP-DEV] PHP 7.4.24RC1 is available for testing

2021-09-09 Thread Derick Rethans
PHP 7.4.24RC1 has just been released and can be downloaded from:



Or use the git tag: php-7.4.24RC1

Windows binaries are available at: 

Please test it carefully, and report any bugs in the bug system at
.

Hash values and PGP signatures can be found below or at
.

7.4.24 should be expected in 2 weeks, i.e. on September 23rd, 2021.

Thank you, and happy testing!

Regards,
Derick Rethans


php-7.4.24RC1.tar.gz
SHA256 hash: 9358f88031b73bf8781be2313e15b6d5ccf023f7e710e3a1ed86ad62e2eab4e5
PGP signature:
-BEGIN PGP SIGNATURE-

iQIzBAABCgAdFiEEWlKIB4H3VWCL+BX8kQ3rRvU+oxIFAmE3kmAACgkQkQ3rRvU+
oxKOBxAA0ui5HhFQM8gjXZ0SIo4AyRAi5xO/1AadbcBfRVoQ6wPzDUJsVoLfiyg3
UF1njbwuLCNqxN8hwxkLWIUJmmCHwuM8WokOVx6m6V6S6GV8OLhqip4iC5VEaVB7
d6+JakOyBdr816SqXdIq1JN0SQkG60KcaB7CBzCIjyfS9l6IRq2iEylVRGv1l4QP
aX6tU4PP0DpZ5Bk617fyJkpy2UDACOLOmko7Ds1oMOq9+Pjs44ZFUhfKgY+TluZ1
Ye7ITsxf9ftjhLKnrKqrxlUeqky8irr1BKSojm42aF4JyLFfhrjMY2TrhcAAT84G
YDNj/oTNZmMdyVpgAdCi17mqzFKwHsa1ydRqQE1xXVtQ59+OVui3daZIqp9YDzvQ
BLbd0cRQUm8Ijf/xtR8LpoWTvwpuRIP3d2tH5wijyhSpS0yTq3wdEYGH4XFFENuk
W+tZuMW5fB5zG9UubLG7UWv8PPnJZ7CyWVXUTL5tgzsEq362vv6t2u4vrQ41KDf1
GRMfoKb79Vfd1fO9EPK8sroYsJdQLZNZ8jjwRgpHzWcL+dgNMD0R0VevuTXhz470
zI7puwNIUDAFQSUR/Z/OYx0IrlFviTj7qWW45h4+KuoSRNs97L+o56oMqWXPt/Ld
nUJ+gytQMf6q/hTUtUFMzJUJke1KTZtrEsmi0CIy4cd4KtzDZNM=
=bdaD
-END PGP SIGNATURE-

php-7.4.24RC1.tar.bz2
SHA256 hash: f2f61a0541ea181689f4f1cd57989eec42932dfdaa8ed5f65e734494308482a2
PGP signature:
-BEGIN PGP SIGNATURE-

iQIzBAABCgAdFiEEWlKIB4H3VWCL+BX8kQ3rRvU+oxIFAmE3kmQACgkQkQ3rRvU+
oxLQpw/+O39FPX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1+ZPL
H6RxvfN4Cljlu+kfiPjSXaFgTbp2S87ovhcK87dMvdyoYFsMOegL1YcqsBm9SbJh
5QETIXIAuYcEtXsVYnpv1AxS9DQkU3rPkKgHQVJ2fSOsZDa53AkDEP4XlJzcoAsJ
umtN/K1gyNOJmtBGqUEc0uejpBCzwFZBMQqtWOFD/5Trx/thfiTZKb1U6RgcDa8M
sbXynD/A39UKhCbQUMpDUeASilAr8cffFqgFWhG1CYIDgJzwAAIuz5pzusXVFltQ
FuIA018kpFWlIUnyPijVjhGSjUhKmVkJmlSu5Ywao/o5HxatiK40Y34gIWZNAZLi
opjnd+TliS4s0HV2NBvG/XhaIXCVYh8Q5Ih7vWyqXo5Gm7EdkuJUFE2z6EgdfqmW
+R75wg6ISLj+lpZVd0n6c51Wq51YQXitKaFPx56qUReqT5hgY68aYV/FzWsPF2p3
k0BnpdaTP56H449rSxNlqGNUNi2BFeudBL5oY/hfWX0MOn+9xyo=
=h/yB
-END PGP SIGNATURE-


-- 
PHP 7.4 Release Manager
Host of PHP Internals News: https://phpinternals.news
Like Xdebug? Consider supporting me: https://xdebug.org/support
https://derickrethans.nl | https://xdebug.org | https://dram.io
twitter: @derickr and @xdebug

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php



Re: [PHP-DEV] [RFC] $this return type

2021-09-09 Thread Ben Ramsey
> On Sep 9, 2021, at 09:47, Mike Schinkel  wrote:
> 
>> On Sep 9, 2021, at 10:26 AM, Flávio Heleno  wrote:
>> 
>> On Tue, Sep 7, 2021 at 10:27 AM Sebastian Bergmann 
>> wrote:
>> 
>>> Am 07.09.2021 um 12:28 schrieb Nikita Popov:
 I have some reservations about this (which basically come down to $this
>>> not
 being a proper "type", so should it be in the type system?) but I can see
 the practical usefulness, so I think it's worth discussing this.
>>> 
>>> I am not conviced that there is enough value in this to introduce syntax
>>> for it, but if at all, then please not "$this" as the name for a type.
>>> 
>>> Off the top of my head, I think that "same" could make sense.
>>> 
>>> --
>>> PHP Internals - PHP Runtime Development Mailing List
>>> To unsubscribe, visit: https://www.php.net/unsub.php
>>> 
>>> 
>> Hi all,
>> 
>> I'm sorry if I'm being naive, or simply put dumb, but the main difference
>> that we're trying
>> to achieve with having "$this" (or variations of it) as a valid return type
>> as opposed to simply
>> using "self" is to ensure that the underlying code is actually doing a
>> "return $this" rather
>> than returning any other valid "self" instance (such as "return new
>> self();")?
> 
> So a *mutable* fluent style vs. an *immutable* fluent style?
> 
> -Mike


For clarity, in comparing to `self` and `static`…


`self`
:   the return value must be an instance of the same class that sets
this type declaration


`static`
:   the return value must be an instance of the same class that calls
the method with this type declaration


`$this`
:   the return value must be the same instance as the instance that
calls the method with this type declaration


Cheers,
Ben




signature.asc
Description: Message signed with OpenPGP


Re: [PHP-DEV] [RFC] $this return type

2021-09-09 Thread Mike Schinkel
> On Sep 9, 2021, at 10:26 AM, Flávio Heleno  wrote:
> 
> On Tue, Sep 7, 2021 at 10:27 AM Sebastian Bergmann 
> wrote:
> 
>> Am 07.09.2021 um 12:28 schrieb Nikita Popov:
>>> I have some reservations about this (which basically come down to $this
>> not
>>> being a proper "type", so should it be in the type system?) but I can see
>>> the practical usefulness, so I think it's worth discussing this.
>> 
>> I am not conviced that there is enough value in this to introduce syntax
>> for it, but if at all, then please not "$this" as the name for a type.
>> 
>> Off the top of my head, I think that "same" could make sense.
>> 
>> --
>> PHP Internals - PHP Runtime Development Mailing List
>> To unsubscribe, visit: https://www.php.net/unsub.php
>> 
>> 
> Hi all,
> 
> I'm sorry if I'm being naive, or simply put dumb, but the main difference
> that we're trying
> to achieve with having "$this" (or variations of it) as a valid return type
> as opposed to simply
> using "self" is to ensure that the underlying code is actually doing a
> "return $this" rather
> than returning any other valid "self" instance (such as "return new
> self();")?

So a *mutable* fluent style vs. an *immutable* fluent style?

-Mike

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php



Re: [PHP-DEV] [RFC] $this return type

2021-09-09 Thread Flávio Heleno
On Tue, Sep 7, 2021 at 10:27 AM Sebastian Bergmann 
wrote:

> Am 07.09.2021 um 12:28 schrieb Nikita Popov:
> > I have some reservations about this (which basically come down to $this
> not
> > being a proper "type", so should it be in the type system?) but I can see
> > the practical usefulness, so I think it's worth discussing this.
>
> I am not conviced that there is enough value in this to introduce syntax
> for it, but if at all, then please not "$this" as the name for a type.
>
> Off the top of my head, I think that "same" could make sense.
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: https://www.php.net/unsub.php
>
>
Hi all,

I'm sorry if I'm being naive, or simply put dumb, but the main difference
that we're trying
to achieve with having "$this" (or variations of it) as a valid return type
as opposed to simply
using "self" is to ensure that the underlying code is actually doing a
"return $this" rather
than returning any other valid "self" instance (such as "return new
self();")?

-- 
Atenciosamente,

Flávio Heleno