diff options
| author | Dmitry Stogov <dmitry@php.net> | 2010-07-08 14:05:11 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2010-07-08 14:05:11 +0000 |
| commit | f0c8366a9e8acd832b6d433035d162218f8db1ec (patch) | |
| tree | 8187bb3ba4addf708a7845b408db6bdc0fe7e488 /ext/session/session.c | |
| parent | eea8fc6122d80179adbfd9f0a234d9cb23c7984e (diff) | |
| download | php-git-f0c8366a9e8acd832b6d433035d162218f8db1ec.tar.gz | |
- use interned strings for auto globals
- $GLOBALS became a JIT autoglobal, so it's initialized only if used (this may affect opcode caches)
Diffstat (limited to 'ext/session/session.c')
| -rw-r--r-- | ext/session/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/session.c b/ext/session/session.c index aa6e0e3a47..22428e342b 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -1993,7 +1993,7 @@ static PHP_GINIT_FUNCTION(ps) /* {{{ */ static PHP_MINIT_FUNCTION(session) /* {{{ */ { - zend_register_auto_global("_SESSION", sizeof("_SESSION")-1, NULL TSRMLS_CC); + zend_register_auto_global("_SESSION", sizeof("_SESSION")-1, 0, NULL TSRMLS_CC); PS(module_number) = module_number; /* if we really need this var we need to init it in zts mode as well! */ |
