Skip to content

Commit 4e55747

Browse files
committed
Add JIT initialization for _SERVER and _ENV
(it's less important for the others, even though it should be fairly easy now too)
1 parent f7b7800 commit 4e55747

File tree

8 files changed

+413
-278
lines changed

8 files changed

+413
-278
lines changed

ext/filepro/filepro.c

-4
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,7 @@
3434
#include "safe_mode.h"
3535
#include "fopen_wrappers.h"
3636
#include <string.h>
37-
#ifdef PHP_WIN32
38-
#include <windows.h>
39-
#else
4037
#include <sys/param.h>
41-
#endif
4238
#include <errno.h>
4339
#include "php_globals.h"
4440

ext/session/session.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1714,7 +1714,7 @@ PHP_MINIT_FUNCTION(session)
17141714
ps_globals = ts_resource(ps_globals_id);
17151715
#endif
17161716

1717-
zend_register_auto_global("_SESSION", sizeof("_SESSION")-1 TSRMLS_CC);
1717+
zend_register_auto_global("_SESSION", sizeof("_SESSION")-1, NULL TSRMLS_CC);
17181718

17191719
PS(module_number) = module_number; /* if we really need this var we need to init it in zts mode as well! */
17201720

0 commit comments

Comments
 (0)