your are setting some specific headers with the same name multiple times. For example
header("Set-Cookie: Foo=bar");
header("Set-Cookie: Bar=foo");
header("Set-Cookie: Baz=bob");
Afterwards you like to delete only "Set-Cookie: Bar", but not the other ones. How to do this?
header_remove doens't work here becaue you can specify the name "Set-Cookie", but not specific the Cookie "Set-Cookie: Foo".