March 2002
Intermediate to advanced
528 pages
21h 29m
English
array_splice
array array_splice(arrayarray, intoffset[, intlength[, arrayreplacement]])
Selects a sequence of elements using the same rules as
array_slice( ), but instead of being returned,
those elements are either removed or, if the fourth argument is
provided, replaced with that array. An array containing the removed
(or replaced) elements is returned.