php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #52864 [FR] Mistranslated sentence in Parameters section of preg_match_all
Submitted: 2010-09-16 18:34 UTC Modified: 2010-10-11 21:44 UTC
From: cprevot at jouve dot fr Assigned: jpauli (profile)
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cprevot at jouve dot fr
New email:
PHP Version: OS:

 

 [2010-09-16 18:34 UTC] cprevot at jouve dot fr
Description:
------------
In the Parameters section of preg_match_all() documentation, a sentence is mistranslated in the French version and doesn't mean anything any more.
Here's a small contribution out of pity for my fellow citizens.

English:
Note that this changes the value of matches into an array where every element is an array consisting of the matched string at offset 0  and its string offset into subject at offset 1.

Current French translation:
Notez que cela modifie le format de la valeur retournée, puisque chaque élément de réponse devient un tableau contenant la sous-chaîne résultat, à l'index 0 dans la chaîne subject constant 1.

Proposed translation:
Notez que cela modifie le format de la valeur retournée, puisque chaque élément de réponse devient un tableau contenant la sous-chaîne résultat à l'index 0 et l'index de celle-ci dans la chaîne subject à l'index 1.


Test script:
---------------
http://fr.php.net/manual/fr/function.preg-match-all.php


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-10-11 21:44 UTC] jpauli@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: jpauli
 [2010-10-11 21:44 UTC] jpauli@php.net
Fixed in online editor. Commit soon.

Thanks for your report.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 17:01:30 2025 UTC