1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Move constants into read-only data segment

This commit is contained in:
Dmitry Stogov
2017-12-14 18:43:44 +03:00
parent 71eaf0d97f
commit 9e709e2fa0
104 changed files with 162 additions and 162 deletions

View File

@@ -71,7 +71,7 @@ ZEND_END_ARG_INFO()
/* {{{ %EXTNAME%_functions[]
*/
const zend_function_entry %EXTNAME%_functions[] = {
static const zend_function_entry %EXTNAME%_functions[] = {
PHP_FE(%EXTNAME%_test1, arginfo_%EXTNAME%_test1)
PHP_FE(%EXTNAME%_test2, arginfo_%EXTNAME%_test2)
PHP_FE_END