You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Various functionality within Core use PHP functions such as str_shuffle() and array_rand() internally.
In PHP 8.2, a new Random\Randomizer class has been introduced, which provides a modernized way to access randomizing capabilities. There is a possibility (it is being discussed) that the currently available methods will be deprecated in favor of this newly introduced class.
To prevent deprecation notices in future PHP versions, all usages of the methods being deprecated should be replaced with the usage of the new class once PHP 8.2 is widely available.
Various functionality within Core use PHP functions such as
str_shuffle()
andarray_rand()
internally.In PHP 8.2, a new
Random\Randomizer
class has been introduced, which provides a modernized way to access randomizing capabilities. There is a possibility (it is being discussed) that the currently available methods will be deprecated in favor of this newly introduced class.To prevent deprecation notices in future PHP versions, all usages of the methods being deprecated should be replaced with the usage of the new class once PHP 8.2 is widely available.
Resources:
The text was updated successfully, but these errors were encountered: