I don't know, ow to insert element in array in the middle with php. I know how it's solve in c++ or c#, but in php i don't know. Please help me.
I used
$stack = array("orange", "banana");
array_push($stack, "apple", "raspberry");
print_r($stack);
but this add in begin of array not middle.
array_splice().