mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Fixing test
This commit is contained in:
parent
17aff0eb25
commit
75d415efbe
1 changed files with 10 additions and 7 deletions
|
@ -161,12 +161,13 @@ require_once('skipifconnectfailure.inc');
|
||||||
printf("[025] Usage of mysqli.default_host=p: did not fail\n") ;
|
printf("[025] Usage of mysqli.default_host=p: did not fail\n") ;
|
||||||
mysqli_close($link);
|
mysqli_close($link);
|
||||||
}
|
}
|
||||||
|
@mysqli_close($link);
|
||||||
}
|
}
|
||||||
|
|
||||||
@var_dump($link);
|
@var_dump($link);
|
||||||
|
|
||||||
if (NULL === ($tmp = mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)))
|
if (NULL !== ($tmp = mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)))
|
||||||
printf("[026] Expecting not NULL, got %s/%s\n", gettype($tmp), $tmp);
|
printf("[026] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
||||||
|
|
||||||
print "done!";
|
print "done!";
|
||||||
?>
|
?>
|
||||||
|
@ -180,17 +181,17 @@ object(mysqli)#%d (%d) {
|
||||||
[%u|b%"affected_rows"]=>
|
[%u|b%"affected_rows"]=>
|
||||||
NULL
|
NULL
|
||||||
[%u|b%"client_info"]=>
|
[%u|b%"client_info"]=>
|
||||||
%unicode|string%(%d) "%s"
|
%s
|
||||||
[%u|b%"client_version"]=>
|
[%u|b%"client_version"]=>
|
||||||
int(%d)
|
int(%d)
|
||||||
[%u|b%"connect_errno"]=>
|
[%u|b%"connect_errno"]=>
|
||||||
int(%d)
|
int(%d)
|
||||||
[%u|b%"connect_error"]=>
|
[%u|b%"connect_error"]=>
|
||||||
%unicode|string%(%d) "%s"
|
%unicode|string%(%d) "%s
|
||||||
[%u|b%"errno"]=>
|
[%u|b%"errno"]=>
|
||||||
int(%d)
|
%s
|
||||||
[%u|b%"error"]=>
|
[%u|b%"error"]=>
|
||||||
%unicode|string%(%d) "%s"
|
%s
|
||||||
[%u|b%"field_count"]=>
|
[%u|b%"field_count"]=>
|
||||||
NULL
|
NULL
|
||||||
[%u|b%"host_info"]=>
|
[%u|b%"host_info"]=>
|
||||||
|
@ -212,4 +213,6 @@ object(mysqli)#%d (%d) {
|
||||||
[%u|b%"warning_count"]=>
|
[%u|b%"warning_count"]=>
|
||||||
NULL
|
NULL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Warning: mysqli_real_connect(): Couldn't fetch mysqli in %s on line %d
|
||||||
done!
|
done!
|
Loading…
Add table
Add a link
Reference in a new issue