Re: get_magic_quotes_gpc, get-magic-quotes-runtime in head, get a "final" decision
| From: | Cristian Rodriguez | Date: | Wed, 06 Feb 2008 20:20:54 +0000 |
| Subject: | Re: get_magic_quotes_gpc, get-magic-quotes-runtime in head, get a "final" decision | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35269@lists.php.net to get a copy of this message | ||
2008/2/6, Derick Rethans <derick@php.net>:
> I don't care that much, but I think it would matter if the functions
> just are there and return false (so -1).
>
> for set_magic_quotes_runtime(), if "true" is passed, it should still
> throw a fatal error, if "false" is passed it should not (or actually 1
yes if set_magic_quotes_runtime(true), a big fatal error ( under no
circustance a warning or notice) , if "false" it should emit either an
E_NOTICE or E_STRICT telling the magic_quotes_runtime is deprecated
and that using set_magic_quotes_runtime has no effect.
Although I still think this functions should be removed.
--
http://www.cristianrodriguez.net