public function indexOfExamples() { return ['empty array' => [[], 42, null, -1], 'array with values' => [['a', 'b', 'c', 'b'], 'b', null, 1], 'with offset' => [['a', 'b', 'c', 'b'], 'b', 2, 3]]; }