Re: [RFC] Magic Quotes in PHP, the Finalle
| From: | Pierre Joye | Date: | Mon, 18 Jul 2011 16:41:18 +0000 |
| Subject: | Re: [RFC] Magic Quotes in PHP, the Finalle | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-54048@lists.php.net to get a copy of this message | ||
hi Daniel,
What is wrong with the solution we came in the past to kill them? It
covers everything this RFC is trying to define and in a cleaner way.
Cleaner as in not being noisy in all possible ways.
As far as I can remember, it was something along these lines:
- GPC beeing killed means they are off, always. That also means that
the default is Off too.
- a warning is raised when one tries to call
set_magic_quotes_runtime(true); That's the only new warning introduce
by this removal.
- get_magic_quotes_gpc and get_magic_quotes_runtime always returns
false, without any warning, notices, etc.
Cheers,
On Mon, Jul 18, 2011 at 4:39 PM, Daniel Convissor
<danielc@analysisandsolutions.com> wrote:
> Hi Folks:
>
> We all want to see Magic Quotes go away. Discussions on this list indicate
> several people are concerned with doing this in a safe and orderly
> manner. [1][2] To this end, I have posted an RFC at
> https://wiki.php.net/rfc/magicquotes_finale
>
> Please read it through, think about it, then post your opinions to the
> mailing list.
>
> Thanks,
>
> --Dan
>
> [1] "Vote results"
> http://marc.info/?t=131089383200001&r=1&w=2
> [2] "5.4 features vote"
> http://marc.info/?t=131019327500001&r=1&w=2
>
> --
> T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
> data intensive web and database programming
> http://www.AnalysisAndSolutions.com/
> 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org