entries). (Andrei)
- Fixed bug #28444 (Cannot access undefined property for object with overloaded
property access). (Dmitry)
+- Fixed bug #28324 (HTTP_SESSION_VARS appear when register_long_arrays is
+ Off). (Tony)
- Fixed bug #28227 (PHP CGI depends upon non-standard SCRIPT_FILENAME).
(lukem at NetBSD dot org)
- Fixed bug #28074 (FastCGI: stderr should be written in a FCGI stderr stream).
array_init(session_vars);
PS(http_session_vars) = session_vars;
- ZEND_SET_GLOBAL_VAR_WITH_LENGTH("HTTP_SESSION_VARS", sizeof("HTTP_SESSION_VARS"), PS(http_session_vars), 2, 1);
+ if (PG(register_long_arrays)) {
+ ZEND_SET_GLOBAL_VAR_WITH_LENGTH("HTTP_SESSION_VARS", sizeof("HTTP_SESSION_VARS"), PS(http_session_vars), 2, 1);
+ }
ZEND_SET_GLOBAL_VAR_WITH_LENGTH("_SESSION", sizeof("_SESSION"), PS(http_session_vars), 2, 1);
}