diff options
author | Joe Watkins <krakjoe@php.net> | 2017-10-30 06:55:13 +0000 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2017-10-30 06:55:28 +0000 |
commit | 63c0ecc44564fbb3469d53646a5403388689ceea (patch) | |
tree | a8f5e11fc460d254ddf91063ffda27c8c49b58d0 | |
parent | 83d51baf83eba50ccba7e0fb7e9a8b4e29dbdb25 (diff) | |
parent | e6aea3dc78ca8ab1634163cdb82a1140b9b97eb4 (diff) | |
download | php-git-63c0ecc44564fbb3469d53646a5403388689ceea.tar.gz |
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fix bug #75453 Incorrect reflection on ibase_connect and ibase_pconnect
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | ext/interbase/interbase.c | 8 |
2 files changed, 7 insertions, 4 deletions
@@ -29,6 +29,9 @@ PHP NEWS . Fixed bug #75317 (UConverter::setDestinationEncoding changes source instead of destination). (andrewnester) +- interbase: + . Fixed bug #75453 (Incorrect reflection for ibase_[p]connect). (villfa) + - Mysqli: . Fixed bug #75434 (Wrong reflection for mysqli_fetch_all function). (Fabien Villepinte) diff --git a/ext/interbase/interbase.c b/ext/interbase/interbase.c index 50851b9cf0..ac870598ac 100644 --- a/ext/interbase/interbase.c +++ b/ext/interbase/interbase.c @@ -53,7 +53,7 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO(arginfo_ibase_errcode, 0) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_ibase_connect, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_ibase_connect, 0, 0, 0) ZEND_ARG_INFO(0, database) ZEND_ARG_INFO(0, username) ZEND_ARG_INFO(0, password) @@ -63,7 +63,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_ibase_connect, 0, 0, 1) ZEND_ARG_INFO(0, role) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_ibase_pconnect, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_ibase_pconnect, 0, 0, 0) ZEND_ARG_INFO(0, database) ZEND_ARG_INFO(0, username) ZEND_ARG_INFO(0, password) @@ -1030,7 +1030,7 @@ static void _php_ibase_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) /* } /* }}} */ -/* {{{ proto resource ibase_connect(string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]]) +/* {{{ proto resource ibase_connect([string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]]]) Open a connection to an InterBase database */ PHP_FUNCTION(ibase_connect) { @@ -1038,7 +1038,7 @@ PHP_FUNCTION(ibase_connect) } /* }}} */ -/* {{{ proto resource ibase_pconnect(string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]]) +/* {{{ proto resource ibase_pconnect([string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]]]) Open a persistent connection to an InterBase database */ PHP_FUNCTION(ibase_pconnect) { |