php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #63396 [DE] stripslahes documentation wrong
Submitted: 2012-10-30 10:26 UTC Modified: 2015-03-20 15:11 UTC
From: ich at andy-hofmann dot com Assigned: cmb (profile)
Status: Closed Package: Translation problem
PHP Version: 5.3.18 OS:
Private report: No CVE-ID: None
 [2012-10-30 10:26 UTC] ich at andy-hofmann dot com
Description:
------------
---
From manual page: http://www.php.net/function.stripslashes#refsect1-
function.stripslashes-description
---
The description of the "stripslahes" function says (in gemran as in english), that 
it's removing/unquoting quotes :) That's, as the functionname says, wrong. It un-
escapes an escaped string ;)

Greetings, Andy!


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-11-06 05:04 UTC] aharvey@php.net
-Summary: stripslahes documentation wrong +Summary: [DE] stripslahes documentation wrong -Package: Documentation problem +Package: Translation problem
 [2012-11-06 05:04 UTC] aharvey@php.net
I think the English version is fine: it's talking about quoting in terms of escaping, rather than "quotes". It's also the direct opposite of the addslashes() description.

Switching to a translation problem so one of our German translators can check the German version.
 [2012-11-06 08:52 UTC] ich at andy-hofmann dot com
> it's talking about quoting in terms of escaping
So why not just write "unescaping", instead of talking about quoting in terms of 
escaping? :) That would be less annoying!
 [2015-03-19 22:58 UTC] cmb@php.net
> So why not just write "unescaping", instead of talking about
> quoting in terms of escaping?

I would trust aharvey, who is a native English speaker, that the
wording is fine. :)

Anyhow, I have submitted a respective patch via PHPOE for the
German translation, which is definitely wrong.
 [2015-03-20 15:11 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2015-03-20 15:11 UTC] cmb@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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 06:01:29 2024 UTC