summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2014-01-28 13:35:13 +0100
committerBob Weinand <bobwei9@hotmail.com>2014-01-28 13:35:13 +0100
commit4b8c098f022f99ef8812eef4758d74fa52ee194b (patch)
tree145be9c3396a7e52dbff7efea33d5ecf0fa5fda1
parentb1396cc7a5d4879df58e1ac8600a45ca107b28e5 (diff)
parent18c2d4500622d71e5754eb60abbaa1e46998b110 (diff)
downloadphp-git-4b8c098f022f99ef8812eef4758d74fa52ee194b.tar.gz
Merge branch 'PHP-5.6'
-rw-r--r--ext/pdo/pdo_dbh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c
index 3ede0ec20b..d17867d1f9 100644
--- a/ext/pdo/pdo_dbh.c
+++ b/ext/pdo/pdo_dbh.c
@@ -196,7 +196,7 @@ static char *dsn_from_uri(char *uri, char *buf, size_t buflen TSRMLS_DC) /* {{{
}
/* }}} */
-/* {{{ proto void PDO::__construct(string dsn, string username, string passwd [, array options])
+/* {{{ proto void PDO::__construct(string dsn[, string username[, string passwd [, array options]]])
*/
static PHP_METHOD(PDO, dbh_constructor)
{
@@ -1226,7 +1226,7 @@ static PHP_METHOD(PDO, getAvailableDrivers)
/* }}} */
/* {{{ arginfo */
-ZEND_BEGIN_ARG_INFO_EX(arginfo_pdo___construct, 0, 0, 3)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_pdo___construct, 0, 0, 1)
ZEND_ARG_INFO(0, dsn)
ZEND_ARG_INFO(0, username)
ZEND_ARG_INFO(0, passwd)