php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #73829 [TR] wrong example result
Submitted: 2016-12-28 17:57 UTC Modified: 2016-12-28 22:56 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: mehmetmuratocak at gmail dot com Assigned:
Status: Open Package: Translation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mehmetmuratocak at gmail dot com
New email:
PHP Version: OS:

 

 [2016-12-28 17:57 UTC] mehmetmuratocak at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.array-replace
---


Result of the first example in turkish translation is wrong. Also the translation of the array values in the example is inaccurate.

Array
(
    [0] => grape
    [1] => banana
    [2] => apple
    [3] => raspberry
    [4] => cherry
)

(
    [0] => ahududu // not even in array values, it should be "dondurma"
    [1] => muz
    [2] => elma
    [3] => armut
    [4] => dondurma // it should be "kavun"
)

$base = array("orange", "banana", "apple", "raspberry");
$replacements = array(0 => "pineapple", 4 => "cherry");
$replacements2 = array(0 => "grape");

$esas = array("portakal", "muz", "elma", "armut"); // raspberry is ahududu in turkish, not armut
$ikame = array(0 => "karpuz", 4 => "kavun"); // should be "ananas" and "kiraz" in turkish
$ikame2 = array(0 => "dondurma"); // it should be "üzüm",


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-28 22:56 UTC] cmb@php.net
-Summary: wrong example result +Summary: [TR] wrong example result
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 14 11:01:27 2024 UTC