Array Slicing in PHP

array_slice
Задание 1

Given an array:

php<?php
  $arr = [1, 2, 3, 4, 5];
?>

Get the following slice from this array without changing the array itself:

php<?php
  [2, 3, 4]
?>