summaryrefslogtreecommitdiff
path: root/ext/dom/document.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/document.c')
-rw-r--r--ext/dom/document.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/document.c b/ext/dom/document.c
index 30b31a3240..54bb94720d 100644
--- a/ext/dom/document.c
+++ b/ext/dom/document.c
@@ -50,7 +50,7 @@ struct _idsIterator {
* Since:
*/
-zend_function_entry php_dom_document_class_functions[] = {
+const zend_function_entry php_dom_document_class_functions[] = {
PHP_FALIAS(createElement, dom_document_create_element, NULL)
PHP_FALIAS(createDocumentFragment, dom_document_create_document_fragment, NULL)
PHP_FALIAS(createTextNode, dom_document_create_text_node, NULL)