Doc #63828 [NEW]: la traduction de l’effet de FNM_CASEFOLD est incorrecte

From: Date: Fri, 21 Dec 2012 10:43:35 +0000
Subject: Doc #63828 [NEW]: la traduction de l’effet de FNM_CASEFOLD est incorrecte
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9307@lists.php.net to get a copy of this message
From: mikael dot cordon at gmail dot com Operating system: GNU/Linux PHP version: Irrelevant Package: Translation problem Bug Type: Documentation Problem Bug description:la traduction de l’effet de FNM_CASEFOLD est incorrecte 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 bug report at https://bugs.php.net/bug.php?id=63828&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63828&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63828&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63828&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63828&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63828&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63828&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63828&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63828&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63828&r=support Expected behavior: https://bugs.php.net/fix.php?id=63828&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63828&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63828&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63828&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63828&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63828&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63828&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63828&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63828&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63828&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63828&r=mysqlcfg

« previous php.doc.bugs (#9307) next »