diff --git a/sapi/apache2handler/php_functions.c b/sapi/apache2handler/php_functions.c index 1baa1f5225e0..db2dcca72bda 100644 --- a/sapi/apache2handler/php_functions.c +++ b/sapi/apache2handler/php_functions.c @@ -308,6 +308,8 @@ static const char *php_apache_get_version(void) /* {{{ Fetch Apache version */ PHP_FUNCTION(apache_get_version) { + ZEND_PARSE_PARAMETERS_NONE(); + const char *apv = php_apache_get_version(); if (apv && *apv) { @@ -324,6 +326,8 @@ PHP_FUNCTION(apache_get_modules) int n; char *p; + ZEND_PARSE_PARAMETERS_NONE(); + array_init(return_value); for (n = 0; ap_loaded_modules[n]; ++n) {