Re: [PHP-DEV] [RFC] Undefined Variable Error Promotion

2022-02-17 Thread Robert Landers
Hi Mark, Just out of curiosity, why is the 3rd case being included here? Is it just because it's currently a warning? The current behavior is well documented and known since ... forever? When I first taught PHP in 2011, I was told post-increment/decrement was sugar for `isset($var) ? $var + 1 : 1`

Re: [PHP-DEV] [RFC] [Under Discussion] Random Extension 4.0

2022-02-17 Thread Go Kudo
2022年2月17日(木) 19:25 Tim Düsterhus : > Hi > > On 2/17/22 08:37, Go Kudo wrote: > > The following points have been fixed: > > > > - `nextByteSize(): int` has been removed from Random\Engine > > - If the width of the RNG is statically defined, it will now be used > > preferentially > > - Added Xoshir

Re: [PHP-DEV] [RFC] [Under Discussion] Random Extension 4.0

2022-02-17 Thread Go Kudo
2022年2月17日(木) 19:25 Tim Düsterhus : > Hi > > On 2/17/22 08:37, Go Kudo wrote: > > The following points have been fixed: > > > > - `nextByteSize(): int` has been removed from Random\Engine > > - If the width of the RNG is statically defined, it will now be used > > preferentially > > - Added Xoshir

[PHP-DEV] PHP 8.1.3 Released

2022-02-17 Thread Patrick ALLAERT
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 The PHP development team announces the immediate availability of PHP 8.1.3. This is a security release. All PHP 8.1 users are encouraged to upgrade to this version. For source downloads of PHP 8.1.3 please visit our downloads page: https://www.php.

[PHP-DEV] PHP 8.0.16 Released

2022-02-17 Thread Sara Golemon
The PHP development team announces the immediate availability of PHP 8.0.16. This is a security release. All PHP 8.0 users are encouraged to upgrade to this version. For source downloads of PHP 8.0.16 please visit our downloads page: https://www.php.net/downloads Windows source and binaries can b

[PHP-DEV] [RFC] Undefined Variable Error Promotion

2022-02-17 Thread Mark Randall
Internals, Following on from my previous thread, I think we are now in a position where we can begin formal discussions on an RFC to promote undefined variables to Error exceptions in PHP 9.0. I present: https://wiki.php.net/rfc/undefined_variable_error_promotion I still intend to bring oth

[PHP-DEV] PHP 7.4.28 Released!

2022-02-17 Thread Derick Rethans
The PHP development team announces the immediate availability of PHP 7.4.28. This is a security release. All PHP 7.4 users are encouraged to upgrade to this version. For source downloads of PHP 7.4.28 please visit our downloads page. Windows binaries can be found on the PHP for Windows site. The

Re: [PHP-DEV] [RFC] [Under Discussion] Random Extension 4.0

2022-02-17 Thread Tim Düsterhus
Hi On 2/17/22 08:37, Go Kudo wrote: The following points have been fixed: - `nextByteSize(): int` has been removed from Random\Engine - If the width of the RNG is statically defined, it will now be used preferentially - Added Xoshiro256StarStar - Fixed an endianness issue And updated RFC http

[PHP-DEV] Re: Setting to disable the "Undefined array index" warning

2022-02-17 Thread Mark Randall
On 15/02/2022 12:31, Nicolas BADIA wrote: As I’m not ready to spend weeks upgrading our codebase because our coding style is not supported by the community, I’m looking at alternatives. I don't think you'll be in luck, and should plan to get ready. As to the specific behaviour: If anything