From: Gabriel Caruso Date: Sat, 24 Feb 2018 00:33:03 +0000 (-0300) Subject: Fix imagesetinterpolation arginfo X-Git-Tag: php-7.2.4RC1~49^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a358211a75ef17a51f67df471552df92c68fa565;p=php Fix imagesetinterpolation arginfo imagesetinterpolation only requires one parameter. --- diff --git a/NEWS b/NEWS index 7dcc0b8473..c0fee6e485 100644 --- a/NEWS +++ b/NEWS @@ -16,6 +16,9 @@ PHP NEWS - FTP: . Fixed ftp_pasv arginfo. (carusogabriel) +-GD: + . Fixed imagesetinterpolation arginfo. (Gabriel Caruso) + - LDAP: . Fixed bug #49876 (Fix LDAP path lookup on 64-bit distros). (dzuelke) diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 1b2c4f0510..e7667d2d2a 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -819,7 +819,7 @@ ZEND_BEGIN_ARG_INFO(arginfo_imageaffinematrixconcat, 0) ZEND_ARG_INFO(0, m2) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO(arginfo_imagesetinterpolation, 0) +ZEND_BEGIN_ARG_INFO_EX(arginfo_imagesetinterpolation, 0, 0, 1) ZEND_ARG_INFO(0, im) ZEND_ARG_INFO(0, method) ZEND_END_ARG_INFO()