dave Sun Oct 15 05:12:35 2006 UTC
Modified files: /phpdoc/en/reference/array/functions array-slice.xml Log: - Only numeric keys are reset by default (Fixes #38076). http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/array/functions/array-slice.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/array/functions/array-slice.xml diff -u phpdoc/en/reference/array/functions/array-slice.xml:1.11 phpdoc/en/reference/array/functions/array-slice.xml:1.12 --- phpdoc/en/reference/array/functions/array-slice.xml:1.11 Thu Mar 31 15:50:05 2005 +++ phpdoc/en/reference/array/functions/array-slice.xml Sun Oct 15 05:12:35 2006 @@ -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>