diff options
author | Tyson Andre <tysonandre775@hotmail.com> | 2018-08-12 17:51:13 -0400 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2018-08-13 15:59:08 +0200 |
commit | e20baee1366535f7758d8ac421821fd1e1f19e90 (patch) | |
tree | 02874a632108a10aaffa32167728a2f50f2a9476 | |
parent | 859f7fce1f940b7ea44c32eafb36cd5e22d37176 (diff) | |
download | php-git-e20baee1366535f7758d8ac421821fd1e1f19e90.tar.gz |
Fix arginfo for bzcompress
bzcompress() has 1 required parameter, not 2.
See http://php.net/manual/en/function.bzcompress.php or invoke
bzcompress with 1 parameter.
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | ext/bz2/bz2.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -5,6 +5,9 @@ PHP NEWS - Core: . Fixed bug #72443 (Generate enabled extension). (petk) +- Bz2: + . Fixed arginfo for bzcompress. (Tyson Andre) + - gettext: . Fixed bug #76517 (incorrect restoring of LDFLAGS). (sji) diff --git a/ext/bz2/bz2.c b/ext/bz2/bz2.c index 6cd7823281..d30be8ae97 100644 --- a/ext/bz2/bz2.c +++ b/ext/bz2/bz2.c @@ -75,7 +75,7 @@ ZEND_BEGIN_ARG_INFO(arginfo_bzerror, 0) ZEND_ARG_INFO(0, bz) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_bzcompress, 0, 0, 2) +ZEND_BEGIN_ARG_INFO_EX(arginfo_bzcompress, 0, 0, 1) ZEND_ARG_INFO(0, source) ZEND_ARG_INFO(0, blocksize) ZEND_ARG_INFO(0, workfactor) |