svn: /phpdoc/en/trunk/reference/array/functions/ array-map.xml

From: Date: Wed, 29 Jun 2016 17:49:53 +0000
Subject: svn: /phpdoc/en/trunk/reference/array/functions/ array-map.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-14267@lists.php.net to get a copy of this message
cmb Wed, 29 Jun 2016 17:49:53 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=339528 Log: Fix #70654: array_map key preservation behaviour not explicit Bug: https://bugs.php.net/70654 (Open) array_map key preservation behaviour not explicit Changed paths: U phpdoc/en/trunk/reference/array/functions/array-map.xml Modified: phpdoc/en/trunk/reference/array/functions/array-map.xml =================================================================== --- phpdoc/en/trunk/reference/array/functions/array-map.xml 2016-06-29 17:48:28 UTC (rev 339527) +++ phpdoc/en/trunk/reference/array/functions/array-map.xml 2016-06-29 17:49:53 UTC (rev 339528) @@ -276,10 +276,9 @@ </example> </para> <para> - If the array argument contains string keys then the returned array - will contain string keys if and only if exactly one array is passed. If - more than one argument is passed then the returned array always has - integer keys. + The returned array will preserve the keys of the array argument if and only + if exactly one array is passed. If more than one array is passed, the + returned array will have sequential integer keys. </para> <para> <example>

« previous php.doc.cvs (#14267) next »