php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #76942
Patch php-7.1.22-msgformatter.patch revision 2018-10-01 13:33 UTC by anthrax at unixuser dot org
revision 2018-10-01 13:24 UTC by anthrax at unixuser dot org

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 UTC

Developer: 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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 21:01:30 2024 UTC