version 1.1.1.4, 2013/10/14 08:02:43
|
version 1.1.1.5, 2014/06/15 20:04:01
|
Line 2
|
Line 2
|
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| PHP Version 5 | |
| PHP Version 5 | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| Copyright (c) 1997-2013 The PHP Group | | | Copyright (c) 1997-2014 The PHP Group | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| This source file is subject to version 3.01 of the PHP license, | |
| This source file is subject to version 3.01 of the PHP license, | |
| that is bundled with this package in the file LICENSE, and is | |
| that is bundled with this package in the file LICENSE, and is | |
Line 519 static void php_build_argv(char *s, zval *track_vars_a
|
Line 519 static void php_build_argv(char *s, zval *track_vars_a
|
Z_ADDREF_P(arr); |
Z_ADDREF_P(arr); |
Z_ADDREF_P(argc); |
Z_ADDREF_P(argc); |
zend_hash_update(&EG(symbol_table), "argv", sizeof("argv"), &arr, sizeof(zval *), NULL); |
zend_hash_update(&EG(symbol_table), "argv", sizeof("argv"), &arr, sizeof(zval *), NULL); |
zend_hash_add(&EG(symbol_table), "argc", sizeof("argc"), &argc, sizeof(zval *), NULL); | zend_hash_update(&EG(symbol_table), "argc", sizeof("argc"), &argc, sizeof(zval *), NULL); |
} |
} |
if (track_vars_array) { |
if (track_vars_array) { |
Z_ADDREF_P(arr); |
Z_ADDREF_P(arr); |
Line 636 static zend_bool php_auto_globals_create_request(const
|
Line 636 static zend_bool php_auto_globals_create_request(const
|
|
|
/* {{{ php_hash_environment |
/* {{{ php_hash_environment |
*/ |
*/ |
int php_hash_environment(TSRMLS_D) | PHPAPI int php_hash_environment(TSRMLS_D) |
{ |
{ |
memset(PG(http_globals), 0, sizeof(PG(http_globals))); |
memset(PG(http_globals), 0, sizeof(PG(http_globals))); |
zend_activate_auto_globals(TSRMLS_C); |
zend_activate_auto_globals(TSRMLS_C); |