mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Closing Bug #12879
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@69863 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
c0ed4d5d43
commit
4f7a1da718
1 changed files with 8 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.158 $ -->
|
||||
<!-- $Revision: 1.159 $ -->
|
||||
<reference id="ref.array">
|
||||
<title>Array Functions</title>
|
||||
<titleabbrev>Arrays</titleabbrev>
|
||||
|
@ -1622,8 +1622,8 @@ Array
|
|||
</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>array_slice</function> returns a sequence of elements
|
||||
from the <parameter>array</parameter> specified by the
|
||||
<function>array_slice</function> returns the sequence of elements
|
||||
from the array <parameter>array</parameter> as specified by the
|
||||
<parameter>offset</parameter> and <parameter>length</parameter>
|
||||
parameters.
|
||||
</para>
|
||||
|
@ -1642,6 +1642,11 @@ Array
|
|||
from <parameter>offset</parameter> up until the end of the
|
||||
<parameter>array</parameter>.
|
||||
</para>
|
||||
<para>
|
||||
Note that <function>array_slice</function> will ignore array
|
||||
keys, and will calculate offsets and lengths based on the
|
||||
actual positions of elements within the array.
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title><function>array_slice</function> examples</title>
|
||||
|
|
Loading…
Reference in a new issue