Fixed typo in array_slice()