What *should* happen is the second array item (b) should disappear. What
*does* happen is that $dope[1] is unset, AND the index is reduced, but the
item isn't deleted. So your array now goes "a", (blank), "c", "d". Both
"b" and "e" were lost.
This is the current CVSs output of var_dump(), I think it mees your
requirements :)
array(4) { [0]=> string(1) "a" [2]=> string(1) "c" [3]=> string(1) "d" [4]=> string(1) "e" }
andré
--
· André Langhorst · t: +49 571 3201801 ·
· waldschrott@php.net · m: +49 173 9558736 ·
· PHP Quality Assurance · http://qa.php.net ·