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:
@@ -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,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)');
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user