summaryrefslogtreecommitdiff
path: root/ext/intl/uchar/uchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/uchar/uchar.c')
-rw-r--r--ext/intl/uchar/uchar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/intl/uchar/uchar.c b/ext/intl/uchar/uchar.c
index 0d4a2a6097..3d6f7519cc 100644
--- a/ext/intl/uchar/uchar.c
+++ b/ext/intl/uchar/uchar.c
@@ -559,6 +559,9 @@ IC_METHOD(getUnicodeVersion) {
UVersionInfo version;
int i;
+ if (zend_parse_parameters_none() == FAILURE) {
+ return;
+ }
u_getUnicodeVersion(version);
array_init(return_value);