Any way to do a simple delete from array?
In other words, what would be the *easiest* (and fastest php runtime)
way to delete "banana" from the following array:
$my_array = array(
"apple",
"banana",
"grape",
"lime"
);
.....so that $my_array will now be:
$my_array = array(
"apple",
"grape",
"lime"
);
In other words, what would be the *easiest* (and fastest php runtime)
way to delete "banana" from the following array:
$my_array = array(
"apple",
"banana",
"grape",
"lime"
);
.....so that $my_array will now be:
$my_array = array(
"apple",
"grape",
"lime"
);
Comment