mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-28 12:10:59 +00:00
CS adjustment
This commit is contained in:
parent
65493ae3be
commit
ead5790c80
@ -100,7 +100,7 @@ abstract class Random
|
||||
// as of PHP 8.1 $GLOBALS cann'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
|
||||
(version_compare(PHP_VERSION, '8.1.0', '>=') ? self::safe_serialize($GLOBALS) : self::safe_serialize($GLOBALS)).
|
||||
(version_compare(PHP_VERSION, '8.1.0', '>=') ? self::safe_serialize($GLOBALS) : self::safe_serialize($GLOBALS)) .
|
||||
self::safe_serialize($_SESSION) .
|
||||
self::safe_serialize($_OLD_SESSION);
|
||||
$v = $seed = $_SESSION['seed'] = sha1($v, true);
|
||||
|
Loading…
Reference in New Issue
Block a user