Doc #55371 [Com]: Function get_magic_quotes_gpc() is deprecated
| From: | tyrael@php.net | Date: | Sat, 12 Nov 2011 21:57:29 +0000 |
| Subject: | Doc #55371 [Com]: Function get_magic_quotes_gpc() is deprecated | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-7426@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55371&edit=1
ID: 55371
Comment by: tyrael@php.net
Reported by: thbley at gmail dot com
Summary: Function get_magic_quotes_gpc() is deprecated
Status: Open
Type: Documentation Problem
Package: Documentation problem
Operating System: Win7 6.1.7600
PHP Version: 5.4.0alpha3
Block user comment: N
Private report: N
New Comment:
Just my 2 cents:
I think that raising an E_DEPRECATED now is better, if we want to remove the get
methods with the major/minor version after 5.4.
Previous Comments:
------------------------------------------------------------------------
[2011-11-12 12:12:01] david dot zuelke at bitextender dot com
According to several mailing list threads I've searched, it should not give a
deprecation warning. So it's not a documentation problem but a bug. The attached
patch fixes the problem (uses PHP_FE instead of PHP_DEP_FE for
get_magic_quotes_gpc() and get_magic_quotes_runtime()) and adds and updates tests
accordingly.
------------------------------------------------------------------------
[2011-11-07 02:54:54] 44318209 at qq dot com
I have the same problem
------------------------------------------------------------------------
[2011-10-27 11:27:19] a at b dot c dot de
NEWS_5_4_0_beta1.txt mentions that get_magic_quotes_{gpc|runtime}() always return false, but not
that they're deprecated.
------------------------------------------------------------------------
[2011-08-11 23:29:48] salathe@php.net
Why don't the NEWS/UPGRADING files mention the deprecation of these
get_magic_quotes_* functions?
------------------------------------------------------------------------
[2011-08-11 22:06:49] pajoye@php.net
The code is in place, better to have the usual doc people to work on that, I won't
have the time to do it any time soon.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=55371
--
Edit this bug report at https://bugs.php.net/bug.php?id=55371&edit=1