public function sliceExamples()
{
return ['no argument' => [['a', 'b', 'c'], [], ['a', 'b', 'c']], 'empty array' => [[], [1], []], 'empty array with end' => [[], [1, 5], []], 'slice in bounds' => [['a', 'b', 'c', 'd'], [1, 3], ['b', 'c']], 'positive start' => [['a', 'b', 'c', 'd'], [2], ['c', 'd']], 'negative start' => [['a', 'b', 'c', 'd'], [-1], ['d']], 'end out of bounds' => [['a', 'b', 'c', 'd'], [3, 10], ['d']], 'negative start and end' => [['a', 'b', 'c', 'd'], [-3, -1], ['b', 'c']]];
}