summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/bug35517.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysqli/tests/bug35517.phpt')
-rw-r--r--ext/mysqli/tests/bug35517.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/tests/bug35517.phpt b/ext/mysqli/tests/bug35517.phpt
index d748e8bbff..fb7f9d19c6 100644
--- a/ext/mysqli/tests/bug35517.phpt
+++ b/ext/mysqli/tests/bug35517.phpt
@@ -24,7 +24,7 @@ require_once('skipifconnectfailure.inc');
if (gettype($id) !== 'string') {
printf("[002] Expecting string on 32bit got %s/%s\n", gettype($id), var_export($id, true));
}
- if (ini_get("unicode.semantics") && !is_unicode($id)) {
+ if ((version_compare(PHP_VERSION, '5.9.9', '>') == 1) && !is_unicode($id)) {
printf("[003] Expecting unicode string\n");
}
}