Lines Matching refs:user
16 $user = PDO_MYSQL_TEST_USER;
20 $db = new PDO($dsn, $user, $pass, [$option => $value]);
35 $user = PDO_MYSQL_TEST_USER;
70 if (NULL !== ($db = @new PDO($dsn, $user, $pass, 'wrong type')))
75 if (!is_object($db = new PDO($dsn, $user, $pass, array())))
79 if (is_object($db = new PDO($dsn, $user, $pass, array($invalid => true))))
82 $db = new PDO($dsn, $user, $pass);
93 $db = new PDO($dsn, $user, $pass, array(PDO::ATTR_AUTOCOMMIT => true));
97 $db = new PDO($dsn, $user, $pass, array(PDO::ATTR_AUTOCOMMIT => false));
102 if (!is_object($db = new PDO($dsn, $user, $pass, array(PDO::ATTR_TIMEOUT => 10))))
105 if (!is_object($db = new PDO($dsn, $user, $pass, array(PDO::ATTR_TIMEOUT => PHP_INT_MAX))))
108 if (!is_object($db = new PDO($dsn, $user, $pass, array(PDO::ATTR_TIMEOUT => -PHP_INT_MAX))))
112 $db = new PDO($dsn, $user, $pass, array(PDO::ATTR_EMULATE_PREPARES => true));
121 $db = new PDO($dsn, $user, $pass, array(PDO::ATTR_EMULATE_PREPARES => false));
132 …$db = new PDO($dsn, $user, $pass, array(PDO::ATTR_EMULATE_PREPARES => true, PDO::MYSQL_ATTR_DIRECT…
138 …$db = new PDO($dsn, $user, $pass, array(PDO::ATTR_EMULATE_PREPARES => false, PDO::MYSQL_ATTR_DIREC…