|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2015-09-13 21:26 UTC] sam at rmcreative dot ru
  [2021-07-13 16:51 UTC] cmb@php.net
 
-Status:      Open
+Status:      Not a bug
-Assigned To:
+Assigned To: cmb
  [2021-07-13 16:51 UTC] cmb@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 18:00:01 2025 UTC | 
Description: ------------ The formatting of strings containing apostrophes is wrong. Test script: --------------- $locale = 'fr_FR'; $args = array(1); $string = "{0, choice, 0<{0} d'eé|1<{0} d'aà}"; echo msgfmt_format_message($locale, $string, $args); $string = "{0, choice, 0<{0} d''eé|1<{0} d''aà}"; echo msgfmt_format_message($locale, $string, $args); Expected result: ---------------- 1 d'eé 1 d'eé Actual result: -------------- 1 deé|1<1 daà 1 deé