mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Make this example more clear.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@95445 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e430940b25
commit
3612f5240a
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- splitted from ./en/functions/array.xml, last change in rev 1.14 -->
|
||||
<refentry id="function.array-splice">
|
||||
<refnamediv>
|
||||
|
@ -68,7 +68,7 @@ array_push ($input, $x, $y) array_splice ($input, count ($input), 0,
|
|||
array_pop ($input) array_splice ($input, -1)
|
||||
array_shift ($input) array_splice ($input, 0, 1)
|
||||
array_unshift ($input, $x, $y) array_splice ($input, 0, 0, array ($x, $y))
|
||||
$a[$x] = $y array_splice ($input, $x, 1, $y)
|
||||
$input[$x] = $y array_splice ($input, $x, 1, $y)
|
||||
]]>
|
||||
</programlisting>
|
||||
</para>
|
||||
|
|
Loading…
Reference in a new issue