From fcc6bdebc29687c78538a3ec0268e31ba54c84fa Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Sun, 3 Apr 2016 02:28:39 +0200 Subject: [PATCH] Added missing zend_parse_parameters_none() to mb_list_encodings() --- ext/mbstring/mbstring.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c index 796c482865..514c4fc1b6 100644 --- a/ext/mbstring/mbstring.c +++ b/ext/mbstring/mbstring.c @@ -3443,6 +3443,10 @@ PHP_FUNCTION(mb_list_encodings) const mbfl_encoding *encoding; int i; + if (zend_parse_parameters_none() == FAILURE) { + return; + } + array_init(return_value); i = 0; encodings = mbfl_get_supported_encodings(); -- 2.40.0