Patch php-7.1.22-msgformatter.patch for intl Bug #76942
Patch version 2018-10-01 13:33 UTC
Return to Bug #76942
| Download this patch
Patch Revisions:
2018-10-01 13:33 UTC | 2018-10-01 13:24 UTCDeveloper: anthrax@unixuser.org
formats = mf->getFormats(count);
diff -ur php-7.1.22.orig/ext/intl/tests/bug74484_MessageFormatter.phpt php-7.1.22.fix/ext/intl/tests/bug74484_MessageFormatter.phpt
--- php-7.1.22.orig/ext/intl/tests/bug74484_MessageFormatter.phpt 2018-09-11 23:08:36.000000000 +0900
+++ php-7.1.22.fix/ext/intl/tests/bug74484_MessageFormatter.phpt 2018-10-01 22:17:25.949058314 +0900
+++ php-7.1.22.fix/ext/intl/tests/bug74484_MessageFormatter.phpt 2018-10-01 22:32:19.782074005 +0900
@@ -4,6 +4,8 @@
<?php
if (!extension_loaded('intl'))
die('skip intl extension not enabled');
+if (version_compare(INTL_ICU_VERSION, '4.8') < 0)
+ die('skip for ICU 4.8+);
+ die('skip for ICU 4.8+');
?>
--FILE--
<?php
|