Skip to content

Commit 2f82edb

Browse files
committed
i forget that it's not an array anymore
1 parent e9c27e2 commit 2f82edb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_boolean.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ if (!$conn) {
1515
$info = db2_server_info($conn);
1616
if ($info->DBMS_NAME == "AS") { // IBM i
1717
// DBMS_VER is VVRRM string
18-
$major = $info["DBMS_VER"][1];
19-
$minor = $info["DBMS_VER"][3];
20-
$mod = $info["DBMS_VER"][4];
18+
$major = $info->DBMS_VER[1];
19+
$minor = $info->DBMS_VER[3];
20+
$mod = $info->DBMS_VER[4];
2121
if (!version_compare("$major.$minor.$mod", "7.5.0", ">=")) {
2222
die("skip IBM i version too old");
2323
}
2424
} else { // Should cover i.e. DB2/LINUX
2525
// DBMS_VER is VV.RR.MMMM, version_compore should work directly
26-
if (!version_compare($info["DBMS_VER"], "9.7.0", ">=")) {
26+
if (!version_compare($info->DBMS_VER, "9.7.0", ">=")) {
2727
die("skip DB2 version too old");
2828
}
2929
}

0 commit comments

Comments
 (0)