Merge branch 'PHP-8.0'

* PHP-8.0:
  Properly initialize PS(mod) on RINIT
This commit is contained in:
Christoph M. Becker 2021-03-23 13:14:49 +01:00
commit f4412f56a2

View file

@ -2691,7 +2691,8 @@ static int php_rinit_session(bool auto_start) /* {{{ */
{
php_rinit_session_globals();
if (PS(mod) == NULL) {
PS(mod) = NULL;
{
char *value;
value = zend_ini_string("session.save_handler", sizeof("session.save_handler") - 1, 0);