From 9e709e2fa02b85d0d10c864d6c996e3368e977ce Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 14 Dec 2017 18:43:44 +0300 Subject: Move constants into read-only data segment --- ext/spl/php_spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/spl/php_spl.c') diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c index fb9f80506b..7abe14b129 100644 --- a/ext/spl/php_spl.c +++ b/ext/spl/php_spl.c @@ -947,7 +947,7 @@ ZEND_END_ARG_INFO() /* {{{ spl_functions */ -const zend_function_entry spl_functions[] = { +static const zend_function_entry spl_functions[] = { PHP_FE(spl_classes, arginfo_spl_classes) PHP_FE(spl_autoload, arginfo_spl_autoload) PHP_FE(spl_autoload_extensions, arginfo_spl_autoload_extensions) -- cgit v1.2.1