typo: "cann't" vs "can't"

This commit is contained in:
Lars Moelleken 2022-10-25 11:22:28 +02:00 committed by terrafrost
parent 24845ccbcc
commit a482c925af

View File

@ -159,7 +159,7 @@ if (!function_exists('crypt_random_string')) {
(isset($_POST) ? phpseclib_safe_serialize($_POST) : '') . (isset($_POST) ? phpseclib_safe_serialize($_POST) : '') .
(isset($_GET) ? phpseclib_safe_serialize($_GET) : '') . (isset($_GET) ? phpseclib_safe_serialize($_GET) : '') .
(isset($_COOKIE) ? phpseclib_safe_serialize($_COOKIE) : '') . (isset($_COOKIE) ? phpseclib_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 // the need for phpseclib_safe_serialize. see https://wiki.php.net/rfc/restrict_globals_usage
// for more info // for more info
(version_compare(PHP_VERSION, '8.1.0', '>=') ? serialize($GLOBALS) : phpseclib_safe_serialize($GLOBALS)) . (version_compare(PHP_VERSION, '8.1.0', '>=') ? serialize($GLOBALS) : phpseclib_safe_serialize($GLOBALS)) .