mixed *slice_array(mixed *arr,int from,int to)

Returns an array that is a slice of the array 'arr' from the index 'from' to
the index 'to'. Indices are numbered 0-

If indices are outside the limits of 'arr' an empty array is returned.

Note also that you can use the operators '+' and '-' on arrays.

