Skip to content

Commit db64aa3

Browse files
committed
optimize skip condition for the test
1 parent f699c96 commit db64aa3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/mysqli/tests/mysqli_stmt_execute_bind_libmysql.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ mysqli
55
--SKIPIF--
66
<?php
77
require_once 'skipifconnectfailure.inc';
8-
if (stristr(mysqli_get_client_info(), 'mysqlnd')) {
9-
die("skip: only applicable for libmysqlclient");
8+
if ($IS_MYSQLND) {
9+
die("skip only applicable for libmysqlclient");
1010
}
1111
?>
1212
--FILE--

0 commit comments

Comments
 (0)