diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-08-15 13:22:13 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-08-15 13:22:13 +0400 |
commit | 29893a88e7cdf93f9ce80ce7eaecffb3ef5e30c9 (patch) | |
tree | eaa54114915c1a4bd7294e31a132d6731e7f3bf0 | |
parent | e3de409eac95870cc0323f3e4df32a0435658333 (diff) | |
download | php-git-29893a88e7cdf93f9ce80ce7eaecffb3ef5e30c9.tar.gz |
Fixed PHP6 unicode related tests
-rw-r--r-- | ext/mysqli/tests/local_infile_tools.inc | 2 | ||||
-rw-r--r-- | ext/mysqli/tests/skipifunicode.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqli/tests/local_infile_tools.inc b/ext/mysqli/tests/local_infile_tools.inc index bb9872f1ab..7b4d9c12a9 100644 --- a/ext/mysqli/tests/local_infile_tools.inc +++ b/ext/mysqli/tests/local_infile_tools.inc @@ -59,7 +59,7 @@ register_shutdown_function("shutdown_clean", $file); } - if ((version_compare(PHP_VERSION, '5.9.9', '>') == 1)) { + if ((version_compare(PHP_VERSION, '6.0', '==') == 1)) { if (!fwrite($fp, (binary)"'97';'x';\n") || !fwrite($fp, (binary)"'98';'y';\n") || !fwrite($fp, (binary)"99;'z';\n")) { diff --git a/ext/mysqli/tests/skipifunicode.inc b/ext/mysqli/tests/skipifunicode.inc index da4dd8e6fd..d453363d2e 100644 --- a/ext/mysqli/tests/skipifunicode.inc +++ b/ext/mysqli/tests/skipifunicode.inc @@ -1,5 +1,5 @@ <?php -if (version_compare(PHP_VERSION, '5.9.9', '>') == 1) { +if (version_compare(PHP_VERSION, '6.0', '!=') == 1) { die('skip Not functional with PHP 6 (fomerly PHP 6 && unicode.semantics=On)'); } ?> |