For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > October 2006 > cvs: phpdoc /en/reference/array/functions array-slice.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/reference/array/functions array-slice.xml
Dave Barr

2006-10-15, 3:56 am

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/phpdo...2&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>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com