Doc #69705 [Opn->Ver]: [TR]​ When this page is translated, $value variable unchanged!

From: Date: Mon, 25 May 2015 10:52:34 +0000
Subject: Doc #69705 [Opn->Ver]: [TR]​ When this page is translated, $value variable unchanged!
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12365@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69705&edit=1 ID: 69705 Updated by: cmb@php.net Reported by: melihozdemir72 at gmail dot com -Summary: ​When this page is translated to Turkish language $value variable unchanged! +Summary: [TR]​ When this page is translated, $value variable unchanged! -Status: Open +Status: Verified Type: Documentation Problem Package: Translation problem -Operating System: +Operating System: N/a PHP Version: 5.6.9 Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2015-05-25 10:36:29] melihozdemir72 at gmail dot com Description: ------------ --- From manual page: http://www.php.net/control-structures.foreach --- ​When this page is translated to Turkish language $value variable name should be as $değer, otherwise array values can not change as it is supposed in the code example. Test script: --------------- <?php $dizi = array(1, 2, 3, 4); foreach ($dizi as &$değer) { $değer = $değer * 2; } // $dizi artık array(2, 4, 6, 8) olmuştur unset($değer); // son eleman da işlendiğine göre gönderimi kaldıralım ?> ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69705&edit=1

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