I have a compound array, that is, an array of an array of an array, etc, that is about 5 arrays deep. I currently search thru all of these arrays, and based on some criteria, I want to delete
one of the arrays (along with all of its sub-arrays) in the middle.

What is the easiest way to delete such an "embedded" array?

array_splice() looked like a possibility, however, it requires that I specify the array
for removal by using offsets which seems odd to me.

Isn't there a way to remove array A from array B?

Thanks,

-Andres

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to