Doc #69731 [Opn->Csd]: [FR] array_splice() reference : "il sera transtypé en 1"
| From: | pierrick@php.net | Date: | Wed, 27 Jul 2016 01:33:36 +0000 |
| Subject: | Doc #69731 [Opn->Csd]: [FR] array_splice() reference : "il sera transtypé en 1" | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13757@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69731&edit=1
ID: 69731
Updated by: pierrick@php.net
Reported by: chealer at gmail dot com
Summary: [FR] array_splice() reference : "il sera transtypé
en 1"
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Translation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: pierrick
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2016-07-27 01:32:41] pierrick@php.net
Automatic comment from SVN on behalf of pierrick
Revision: http://svn.php.net/viewvc/?view=revision&revision=339733
Log: Fixed bug #69731
------------------------------------------------------------------------
[2015-05-29 14:34:27] chealer at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.array-splice
---
Note: Si replacement n'est pas un tableau, il sera transtypé en 1 (i.e. (array)
$parameter). Cela peut conduire en un résultat non prévu lors de l'utilisation d'un
objet ou NULL comme paramètre replacement.
is supposed to translate:
Note: If replacement is not an array, it will be typecast to one (i.e. (array) $parameter). This
may result in unexpected behavior when using an object or NULL replacement.
"il sera transtypé en un" would be less puzzling, but a literal translation is not
valid. I would suggest:
Si replacement n'est pas un tableau, il en deviendra un par transtypage (i.e. (array)
$parameter).
By the way, "$parameter" should read "$replacement" (this also affects the
source version).
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69731&edit=1