Skip to content

Commit b51f519

Browse files
committed
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0: Fix formatting in the new mysqli test
2 parents ae9e986 + 49512b6 commit b51f519

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

ext/mysqli/tests/gh7837.phpt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@ Bug GH-7837 (large bigints may be truncated)
44
mysqli
55
--SKIPIF--
66
<?php
7-
require_once("connect.inc");
8-
if (strpos(mysqli_get_client_info(), "mysqlnd") === false) {
7+
require_once 'skipifconnectfailure.inc';
8+
if (!$IS_MYSQLND) {
99
die("skip requires mysqlnd");
1010
}
11-
require_once("skipifconnectfailure.inc");
1211
?>
1312
--FILE--
1413
<?php
15-
require_once("connect.inc");
14+
require_once "connect.inc";
1615

1716
$mysql = new mysqli($host, $user, $passwd, $db, $port, $socket);
1817
$mysql->options(MYSQLI_OPT_INT_AND_FLOAT_NATIVE, true);
@@ -24,6 +23,10 @@ $mysql->query("INSERT INTO test (`ubigint`) VALUES (1)");
2423
$result = $mysql->query("SELECT ubigint FROM test");
2524
var_dump($result->fetch_all());
2625
?>
26+
--CLEAN--
27+
<?php
28+
require_once "clean_table.inc";
29+
?>
2730
--EXPECT--
2831
array(3) {
2932
[0]=>

0 commit comments

Comments
 (0)