Arrays Learning Mode

What will this code output?

    $arr = [1,2,3,4,5];
    $spliced = array_splice($arr, 2, 1);
    $number = array_shift($arr);
    echo $number;