From 4865ec6ff06ee48a7731aecdbc93891da2afe717 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Fri, 28 Feb 2014 17:47:00 +0400 Subject: [PATCH] Fixed ini_get_all() --- ext/standard/basic_functions.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 113a7868081..fc2198edafa 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -5345,8 +5345,9 @@ PHP_FUNCTION(ini_get) } /* }}} */ -static int php_ini_get_option(zend_ini_entry *ini_entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ +static int php_ini_get_option(zval *zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ { + zend_ini_entry *ini_entry = Z_PTR_P(zv); zval *ini_array = va_arg(args, zval *); int module_number = va_arg(args, int); int details = va_arg(args, int);