diff --git a/phpseclib/Crypt/Random.php b/phpseclib/Crypt/Random.php index 79f04b7f..56852e77 100644 --- a/phpseclib/Crypt/Random.php +++ b/phpseclib/Crypt/Random.php @@ -99,7 +99,7 @@ abstract class Random (isset($_POST) ? self::safe_serialize($_POST) : '') . (isset($_GET) ? self::safe_serialize($_GET) : '') . (isset($_COOKIE) ? self::safe_serialize($_COOKIE) : '') . - // as of PHP 8.1 $GLOBALS cann't be accessed by reference, which eliminates + // as of PHP 8.1 $GLOBALS can't be accessed by reference, which eliminates // the need for phpseclib_safe_serialize. see https://wiki.php.net/rfc/restrict_globals_usage // for more info serialize($GLOBALS) .