(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.1.0)
Creates a PDO instance representing a connection to a database
public PDO::__construct ( string $dsn [, string $username [, string $password [, array $options ]]] )
Creates a PDO instance to represent a connection to the requested database.
Parameters:
dsn
The Data Source Name, or DSN, contains the information required to connect to the d