summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/local_infile_tools.inc
diff options
context:
space:
mode:
authorUlf Wendel <uw@php.net>2009-05-28 14:11:41 +0000
committerUlf Wendel <uw@php.net>2009-05-28 14:11:41 +0000
commit85cb084fc5a5ecf06fb187ce25c632e05710cc24 (patch)
tree407c8f0b9af0ffd179ebea8bd943a30565868789 /ext/mysqli/tests/local_infile_tools.inc
parentff1535fe73f498033a521ef96e1d2cbca9586b02 (diff)
downloadphp-git-85cb084fc5a5ecf06fb187ce25c632e05710cc24.tar.gz
1) Changing EXPECT[F] sections to work with PHP 5.3 and PHP 6. 2) Merging a couple of fixes I applied to PHP 5.3 only yesterday. The changes should make it a little easier to do MFH and follow the rules in the future as we will soon have identical tests for PHP 5_3 and HEAD.
Diffstat (limited to 'ext/mysqli/tests/local_infile_tools.inc')
-rw-r--r--ext/mysqli/tests/local_infile_tools.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/tests/local_infile_tools.inc b/ext/mysqli/tests/local_infile_tools.inc
index d740b8253c..fcbf45a2e7 100644
--- a/ext/mysqli/tests/local_infile_tools.inc
+++ b/ext/mysqli/tests/local_infile_tools.inc
@@ -17,7 +17,7 @@
register_shutdown_function("shutdown_clean", $file);
}
- if (ini_get('unicode.semantics')) {
+ if ((version_compare(PHP_VERSION, '5.9.9', '>') == 1)) {
if (!fwrite($fp, (binary)"'97';'x';\n") ||
!fwrite($fp, (binary)"'98';'y';\n") ||
!fwrite($fp, (binary)"99;'z';\n")) {