From 4f7a1da71811455785452d0bc0b3e20399cedd0b Mon Sep 17 00:00:00 2001 From: Torben Wilson Date: Sat, 9 Feb 2002 23:14:38 +0000 Subject: [PATCH] Closing Bug #12879 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@69863 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/array.xml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/functions/array.xml b/functions/array.xml index 229e7c26c4..efcbda917e 100644 --- a/functions/array.xml +++ b/functions/array.xml @@ -1,5 +1,5 @@ - + Array Functions Arrays @@ -1622,8 +1622,8 @@ Array - array_slice returns a sequence of elements - from the array specified by the + array_slice returns the sequence of elements + from the array array as specified by the offset and length parameters. @@ -1642,6 +1642,11 @@ Array from offset up until the end of the array. + + Note that array_slice will ignore array + keys, and will calculate offsets and lengths based on the + actual positions of elements within the array. + <function>array_slice</function> examples