diff options
Diffstat (limited to 'ext/mysqli/tests/mysqli_connect_attr.phpt')
-rw-r--r-- | ext/mysqli/tests/mysqli_connect_attr.phpt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/mysqli/tests/mysqli_connect_attr.phpt b/ext/mysqli/tests/mysqli_connect_attr.phpt index 97adfdcc51..c9836cdf6d 100644 --- a/ext/mysqli/tests/mysqli_connect_attr.phpt +++ b/ext/mysqli/tests/mysqli_connect_attr.phpt @@ -37,13 +37,13 @@ mysqli_close($link); ?> --FILE-- <?php - require_once("connect.inc"); + require_once("connect.inc"); - $tmp = NULL; - $link = NULL; + $tmp = NULL; + $link = NULL; $res = NULL; - if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket)) - printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",$host, $user, $db, $port, $socket); + if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket)) + printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",$host, $user, $db, $port, $socket); //in case $host is empty, do not test for _server_host field if (isset($host) && trim($host) != '') { |