summaryrefslogtreecommitdiff
path: root/ext/spl/spl_sxe.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2007-09-27 18:28:44 (GMT)
committerDmitry Stogov <dmitry@php.net>2007-09-27 18:28:44 (GMT)
commit8146078f7bbbe4f4799e1a154ea450c90c855728 (patch)
tree46cb160985407d24ff3a9d485a90e88fee4cdbb6 /ext/spl/spl_sxe.c
parent98a2c03808f73be0c08bfe654b985483ccb8d6bc (diff)
downloadphp-8146078f7bbbe4f4799e1a154ea450c90c855728.tar.gz
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
Diffstat (limited to 'ext/spl/spl_sxe.c')
-rwxr-xr-xext/spl/spl_sxe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/spl_sxe.c b/ext/spl/spl_sxe.c
index a2cb7ff..8ec2f82 100755
--- a/ext/spl/spl_sxe.c
+++ b/ext/spl/spl_sxe.c
@@ -156,7 +156,7 @@ SPL_METHOD(SimpleXMLIterator, count)
RETURN_LONG(count);
}
-static zend_function_entry spl_funcs_SimpleXMLIterator[] = {
+static const zend_function_entry spl_funcs_SimpleXMLIterator[] = {
SPL_ME(SimpleXMLIterator, rewind, NULL, ZEND_ACC_PUBLIC)
SPL_ME(SimpleXMLIterator, valid, NULL, ZEND_ACC_PUBLIC)
SPL_ME(SimpleXMLIterator, current, NULL, ZEND_ACC_PUBLIC)