<?php

// Slice

$numbers1 = [1, 2, 3];
$numbers2 = [4, 5, 6];

//$subset = array_slice($numbers,1, 2, true);


//Splice

$removed = array_splice($numbers, 1,2, ["Döner", "Banane"]);


var_dump($numbers)


?>







