summaryrefslogtreecommitdiff
path: root/ext/standard/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/random.c')
-rw-r--r--ext/standard/random.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/random.c b/ext/standard/random.c
index 2ab0e8ed80..c2079f64e9 100644
--- a/ext/standard/random.c
+++ b/ext/standard/random.c
@@ -202,7 +202,7 @@ PHP_FUNCTION(random_bytes)
zend_long size;
zend_string *bytes;
- ZEND_PARSE_PARAMETERS_START_EX(ZEND_PARSE_PARAMS_THROW, 1, 1)
+ ZEND_PARSE_PARAMETERS_START(1, 1)
Z_PARAM_LONG(size)
ZEND_PARSE_PARAMETERS_END();
@@ -276,7 +276,7 @@ PHP_FUNCTION(random_int)
zend_long max;
zend_long result;
- ZEND_PARSE_PARAMETERS_START_EX(ZEND_PARSE_PARAMS_THROW, 2, 2)
+ ZEND_PARSE_PARAMETERS_START(2, 2)
Z_PARAM_LONG(min)
Z_PARAM_LONG(max)
ZEND_PARSE_PARAMETERS_END();