php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #63828 [FR] la traduction de l’effet de FNM_CASEFOLD est incorrecte
Submitted: 2012-12-21 10:43 UTC Modified: 2013-01-08 10:32 UTC
From: mikael dot cordon at gmail dot com Assigned: yannick (profile)
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS: GNU/Linux
Private report: No CVE-ID: None
 [2012-12-21 10:43 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-01-08 06:01 UTC] yannick@php.net
-Summary: la traduction de l’effet de FNM_CASEFOLD est incorrecte +Summary: [FR] la traduction de l’effet de FNM_CASEFOLD est incorrecte
 [2013-01-08 10:31 UTC] 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
 [2013-01-08 10:32 UTC] yannick@php.net
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.


 [2013-01-08 10:32 UTC] yannick@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: yannick
 [2020-12-30 12:49 UTC] nikic@php.net
Automatic comment on behalf of yannick
Revision: http://git.php.net/?p=doc/fr.git;a=commit;h=8cedfd7724b82ba16b948bd972b00d3a21c20e3e
Log: Fix bug #63828
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 04:01:34 2024 UTC