diff --git a/reference/array/functions/array-splice.xml b/reference/array/functions/array-splice.xml index 80685f710c..a589147baa 100644 --- a/reference/array/functions/array-splice.xml +++ b/reference/array/functions/array-splice.xml @@ -1,5 +1,5 @@ - + @@ -60,7 +60,8 @@ around it, unless the element is an array itself. - The following equivalences hold: + The following statements change the values of $input + the same way: <function>array_splice</function> equivalents @@ -99,7 +100,7 @@ - $a[$x] = $y + $input[$x] = $y // for arrays where key equals offset array_splice($input, $x, 1, $y)