summaryrefslogtreecommitdiff
path: root/ext/bcmath
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2017-09-06 14:45:02 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2017-09-06 14:45:02 +0200
commit14b0adba5fac7d9f96b2a7588eb11e3cf33b7dc2 (patch)
treebdcc8098528dff52dc12f57f68c2071a2a3ae5d5 /ext/bcmath
parentcf61ec64a4f1aedf244e052e5e633c7ef009f145 (diff)
downloadphp-git-14b0adba5fac7d9f96b2a7588eb11e3cf33b7dc2.tar.gz
Fix arginfo
The `scale` parameter is now optional.
Diffstat (limited to 'ext/bcmath')
-rw-r--r--ext/bcmath/bcmath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bcmath/bcmath.c b/ext/bcmath/bcmath.c
index 6020a7c6d7..3c45ab5141 100644
--- a/ext/bcmath/bcmath.c
+++ b/ext/bcmath/bcmath.c
@@ -89,7 +89,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_bccomp, 0, 0, 2)
ZEND_ARG_INFO(0, scale)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO(arginfo_bcscale, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_bcscale, 0, 0, 0)
ZEND_ARG_INFO(0, scale)
ZEND_END_ARG_INFO()