Answer the question
In order to leave comments, you need to log in
A function similar to array_shift, only by key (remove array element) - NON-BRED?
Hello.
I must say right away that the issue is easily solved as follows:
$arr = array('one' => 1, 'two' => 2);
$two = $arr['two'];
unset($arr['two'];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question