diff options
| author | Dmitry Stogov <dmitry@php.net> | 2007-09-27 18:00:48 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2007-09-27 18:00:48 +0000 |
| commit | 6c810b0d4c1b12c675f69f5cfb32f26b6179d460 (patch) | |
| tree | e95f336ce39693101bed812985b914c9bd80523e /ext/dom/xpath.c | |
| parent | f6d9901873156c560eb6da7dafbefc56c363b2bd (diff) | |
| download | php-git-6c810b0d4c1b12c675f69f5cfb32f26b6179d460.tar.gz | |
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
Diffstat (limited to 'ext/dom/xpath.c')
| -rw-r--r-- | ext/dom/xpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/xpath.c b/ext/dom/xpath.c index c7522a119d..339fe5a879 100644 --- a/ext/dom/xpath.c +++ b/ext/dom/xpath.c @@ -36,7 +36,7 @@ #if defined(LIBXML_XPATH_ENABLED) -zend_function_entry php_dom_xpath_class_functions[] = { +const zend_function_entry php_dom_xpath_class_functions[] = { PHP_ME(domxpath, __construct, NULL, ZEND_ACC_PUBLIC) PHP_FALIAS(registerNamespace, dom_xpath_register_ns, NULL) PHP_FALIAS(query, dom_xpath_query, NULL) |
