php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #61550 stripslashes() claims magic_quotes_gpc defaults on
Submitted: 2012-03-29 05:53 UTC Modified: 2012-04-04 09:55 UTC
From: asphp at dsgml dot com Assigned: bjori (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: asphp at dsgml dot com
New email:
PHP Version: OS:

 

 [2012-03-29 05:53 UTC] asphp at dsgml dot com
Description:
------------
The page http://www.php.net/manual/en/function.stripslashes.php claims that magic_quotes_gpc defaults to on. That hasn't been true for a long time, and it's certainly not true now.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-29 05:59 UTC] rasmus@php.net
It was true as for PHP 5.3.x, so I am not sure about this "long time" claim.
 [2012-03-29 06:00 UTC] philip@php.net
It remains on by default with PHP 5.3.x, but was removed in PHP 5.4.

Suggestion: Simply remove the string "(it's on by default)" from those docs, and 
let people read about magic_quotes_gpc elsewhere.
 [2012-03-29 06:00 UTC] philip@php.net
-Status: Open +Status: Verified
 [2012-03-29 06:05 UTC] asphp at dsgml dot com
Well maybe it's just my distribution that had it off by default.

But I hope you can agree that leaving it off has been the recommendation for a long time.
 [2012-04-04 09:55 UTC] bjori@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

Fixed in http://svn.php.net/viewvc?view=revision&revision=324587
 [2012-04-04 09:55 UTC] bjori@php.net
-Status: Verified +Status: Closed -Assigned To: +Assigned To: bjori
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 19:01:28 2025 UTC