Return comma-separated string of .ini files parsed from the additional ini dir */
PHP_FUNCTION(php_ini_scanned_files)
{
+ if (zend_parse_parameters_none() == FAILURE) {
+ return;
+ }
+
if (strlen(PHP_CONFIG_FILE_SCAN_DIR) && php_ini_scanned_files) {
RETURN_RT_STRING(php_ini_scanned_files, ZSTR_DUPLICATE);
} else {
Return the actual loaded ini filename */
PHP_FUNCTION(php_ini_loaded_file)
{
+ if (zend_parse_parameters_none() == FAILURE) {
+ return;
+ }
+
if (php_ini_opened_path) {
RETURN_STRING(php_ini_opened_path, 1);
} else {