PDO::__construct default args

This commit is contained in:
Ben Mewburn 2019-03-02 14:16:56 +11:00
parent e9567bfb56
commit fe4e8f8300
1 changed files with 1 additions and 1 deletions

View File

@ -838,7 +838,7 @@ class PDO {
* @param array $options [optional]
* @throws PDOException if the attempt to connect to the requested database fails.
*/
public function __construct ($dsn, $username, $passwd, $options) {}
public function __construct ($dsn, $username = null, $passwd = null, $options = null) {}
/**
* (PHP 5 &gt;= 5.1.0, PHP 7, PECL pdo &gt;= 0.1.0)<br/>