Doc #63828 [Opn->Csd]: [FR] la traduction de lâeffet de FNM_CASEFOLD est incorrecte
| From: | yannick@php.net | Date: | Tue, 08 Jan 2013 10:32:19 +0000 |
| Subject: | Doc #63828 [Opn->Csd]: [FR] la traduction de lâeffet de FNM_CASEFOLD est incorrecte | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-9369@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63828&edit=1
ID: 63828
Updated by: yannick@php.net
Reported by: mikael dot cordon at gmail dot com
Summary: [FR] la traduction de lâeffet de FNM_CASEFOLD est
incorrecte
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Translation problem
Operating System: GNU/Linux
PHP Version: Irrelevant
-Assigned To:
+Assigned To: yannick
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2013-01-08 10:31:18] yannick@php.net
Automatic comment from SVN on behalf of yannick
Revision: http://svn.php.net/viewvc/?view=revision&revision=329015
Log: Fix bug #63828
------------------------------------------------------------------------
[2012-12-21 10:43:35] mikael dot cordon at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.fnmatch#refsect1-function.fnmatch-
parameters
---
Selon mes tests avec PHP-5.3.6 et PHP-5.4.4, lâoption FNM_CASEFOLD permet de ne
PAS tenir compte de la casse, contrairement à la traduction française.
Dâailleurs, la documentation anglaise, précise « caseless match ».
Cordialement,
--
Mikaël Cordon
Test script:
---------------
if (fnmatch("bo_*", "BO_annexe.php.inc", FNM_CASEFOLD)) {
echo "matches\n" ;
} else {
echo "no match\n" ;
}
matches
if (fnmatch("bo_*", "BO_annexe.php.inc")) {
echo "matches\n" ;
} else {
echo "no match\n" ;
}
no match
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63828&edit=1