PHP - Arrays
Given
$arr = [1, 2, 3];, which code snippet correctly moves the last element to the front using array_pop and array_unshift?