--TEST-- mysqli_connect() --EXTENSIONS-- mysqli --SKIPIF-- --FILE-- --EXPECTF-- Warning: mysqli_connect(): (%s/%d): Access denied for user '%s'@'%s'%r( \(using password: \w+\)){0,1}%r in %s on line %d array(1) { ["testing"]=> string(21) "mysqli.default_socket" } array(1) { ["testing"]=> string(19) "mysqli.default_port" } array(1) { ["testing"]=> string(17) "mysqli.default_pw" } array(2) { [0]=> string(19) "mysqli.default_user" ["testing"]=> string(19) "mysqli.default_user" } array(1) { [0]=> string(19) "mysqli.default_host" } done!