summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO1
-rw-r--r--main/main.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/TODO b/TODO
index efc92858a5..e5fc4fa769 100644
--- a/TODO
+++ b/TODO
@@ -48,6 +48,7 @@ ext/oci8
ext/standard
------------
* strpad() (Andrei)
+ * stri_replace() (Andrei)
* comparing arrays semantically (like Python) (Andrei)
* NOT binary safe:
strtok()
diff --git a/main/main.c b/main/main.c
index d8568e973d..fa10a9aa03 100644
--- a/main/main.c
+++ b/main/main.c
@@ -1004,7 +1004,7 @@ static inline void php_register_server_variables(ELS_D SLS_DC PLS_DC)
ALLOC_ZVAL(array_ptr);
array_init(array_ptr);
INIT_PZVAL(array_ptr);
- zend_hash_add(&EG(symbol_table), "HTTP_SERVER_VARS", sizeof("HTTP_ENV_VARS"), &array_ptr, sizeof(pval *),NULL);
+ zend_hash_add(&EG(symbol_table), "HTTP_SERVER_VARS", sizeof("HTTP_SERVER_VARS"), &array_ptr, sizeof(pval *),NULL);
}
sapi_module.register_server_variables(array_ptr ELS_CC SLS_CC PLS_CC);
}