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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user