mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
- Only numeric keys are reset by default (Fixes #38076).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@221792 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
3e2879c046
commit
0fd3e5a4ed
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<!-- splitted from ./en/functions/array.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.array-slice">
|
||||
<refnamediv>
|
||||
|
@ -37,9 +37,9 @@
|
|||
<parameter>array</parameter>.
|
||||
</para>
|
||||
<para>
|
||||
Note that <function>array_slice</function> will reset the array keys by
|
||||
default. Since PHP 5.0.2, you can change this behaviour by setting
|
||||
<parameter>preserve_keys</parameter> to &true;.
|
||||
Note that <function>array_slice</function> will reset numeric array
|
||||
keys by default. Since PHP 5.0.2, you can change this behaviour by
|
||||
setting <parameter>preserve_keys</parameter> to &true;.
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
|
|
Loading…
Reference in a new issue