com php-src: Fixed arginfo of PDO::__construct() to match the docs and zend_parse_parameters def inition.: ext/pdo/pdo_dbh.c

From: Date: Tue, 28 Jan 2014 12:31:52 +0000
Subject: com php-src: Fixed arginfo of PDO::__construct() to match the docs and zend_parse_parameters def inition.: ext/pdo/pdo_dbh.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-75822@lists.php.net to get a copy of this message
Commit: e9b4bca5a00d475c4176ce24a5203d42607642e8 Author: Bob Weinand <bobwei9@hotmail.com> Tue, 28 Jan 2014 13:31:52 +0100 Parents: 4dee63ca1cb650f96c227d9169787f70b0c86bd9 Branches: PHP-5.4 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e9b4bca5a00d475c4176ce24a5203d42607642e8 Log: Fixed arginfo of PDO::__construct() to match the docs and zend_parse_parameters definition. Changed paths: M ext/pdo/pdo_dbh.c Diff: diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c index 64726f6..4f5a391 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)

« previous php.cvs (#75822) next »