Doc #79058 [Opn->Csd]: [ZH] document translation errors with array_merge

From: Date: Tue, 01 Sep 2020 05:55:36 +0000
Subject: Doc #79058 [Opn->Csd]: [ZH] document translation errors with array_merge
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17850@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79058&edit=1 ID: 79058 Updated by: avenger@php.net Reported by: xzzll at msn dot cn Summary: [ZH] document translation errors with array_merge -Status: Open +Status: Closed Type: Documentation Problem Package: Translation problem Operating System: null PHP Version: 7.4.1 -Assigned To: +Assigned To: avenger Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2020-01-03 09:54:02] xzzll at msn dot cn Description: ------------ --- From manual page: https://php.net/function.array-merge --- https://www.php.net/manual/zh/function.array-merge.php 这个页面的描述 "如果只给了一个数组并且该数组是数字索引的,则键名会以连续方式重新索引。" 是错误的,实际上是提供任意数量的数组且为数字索引的键名会以连续方式重新索引 故这句话应该改为 "如果提供的数组存在以数字作为索引的内容,则这项内容的键名会以连续方式重新索引(注:文本[string]类型的数字也会被当作数字索引)" PS: This error is to fix translation errors in Chinese documents. Please arrange a Chinese document management member for processing ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79058&edit=1

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