Commit 52385c92c66 for php.net
commit 52385c92c66ba9032d7958a34f9ca52f4dc42a4c
Author: Weilin Du <weilindu@php.net>
Date: Wed Sep 2 00:00:22 2026 +0800
CI: Fix tests gh23444 on Windows (#23529)
this fixes CI failure introduced in #23444.
e.g. https://github.com/php/php-src/actions/runs/33510795665/job/99865746673
diff --git a/ext/pdo_odbc/tests/gh23444.phpt b/ext/pdo_odbc/tests/gh23444.phpt
index f71fc733839..a18dd202e73 100644
--- a/ext/pdo_odbc/tests/gh23444.phpt
+++ b/ext/pdo_odbc/tests/gh23444.phpt
@@ -16,7 +16,7 @@
// 13 bytes as UTF-8, so an unconverted parameter is an odd number of bytes
$string = "\u{6e2c}\u{8a66}\u{4e2d}\u{1f418}";
-$db->setAttribute(PDO::ODBC_ATTR_ASSUME_UTF8, true);
+$db->setAttribute(Pdo\Odbc::ATTR_ASSUME_UTF8, true);
$stmt = $db->prepare("INSERT INTO gh23444 VALUES(?)");
$stmt->execute([$string]);