How should a library code react to difference in magic_quotes setting? I find it quite absurd that the library code has to adapt to magic_quotes_gpc setting (since we do not know whether a certain variable comes from get/post/cookie, an external source, or just defined in the source).
Is is better off if my code just assume the magic* setting is all off? (Or at least the common defaults, gpc is on and the other is off).