diff --git a/reference/array/functions/array-splice.xml b/reference/array/functions/array-splice.xml index 1aba8b4669..91a9b65870 100644 --- a/reference/array/functions/array-splice.xml +++ b/reference/array/functions/array-splice.xml @@ -1,5 +1,5 @@ - + @@ -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) ]]>