I'm trying to delete the first key and value from an array while keeping the keys.
I can't seem to get this working with all the array possibilities.
Here's my $mag_cats_arr:
Array ( [6] => Science [9] => hashgraph [4] => Blockchain )
With array_slice, the keys are reset, but I need them:
$mag_cats_arr = array_slice($mag_cats_arr,1);
Array ( [0] => hashgraph [0] => Blockchain ) (Science is gone here)
How do I keep the keys when removing the first ([6] => Science) in this array?