1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 00:48:25 +02:00

Fixed PHP6 unicode related tests

This commit is contained in:
Dmitry Stogov
2014-08-15 13:22:13 +04:00
parent e3de409eac
commit 29893a88e7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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")) {
+1 -1
View File
@@ -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)');
}
?>