We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ccabc3c + 145280c commit f73cfafCopy full SHA for f73cfaf
src/appserver.c
@@ -211,7 +211,7 @@ PHP_RINIT_FUNCTION(appserver)
211
char *str;
212
213
/* remove functions given in ini setting */
214
- ptr = strtok(str, ",");
+ ptr = strtok(INI_STR("appserver.remove_constants"), ",");
215
while(ptr != NULL) {
216
// delete const for being able to set own const const in userland
217
zend_hash_del(EG(zend_constants), ptr, strlen(ptr) + 1);
@@ -221,7 +221,7 @@ PHP_RINIT_FUNCTION(appserver)
221
222
223
224
+ ptr = strtok(INI_STR("appserver.remove_functions"), ",");
225
226
// remove function from table
227
zend_hash_del(EG(function_table), ptr, strlen(ptr) + 1);
0 commit comments