]> granicus.if.org Git - php/commitdiff
Use sizeof on the proper string.
authorAndrei Zmievski <andrei@php.net>
Fri, 28 Jan 2000 17:29:37 +0000 (17:29 +0000)
committerAndrei Zmievski <andrei@php.net>
Fri, 28 Jan 2000 17:29:37 +0000 (17:29 +0000)
TODO
main/main.c

diff --git a/TODO b/TODO
index efc92858a52828a9ab5276e8513645b9bb16995e..e5fc4fa7696c8170f23a440659eecfd6acb3d4b1 100644 (file)
--- 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()
index d8568e973de3c43349a5a74f248484ab797af4bb..fa10a9aa03299033722ac426909c0ee7a980db4d 100644 (file)
@@ -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);
 }