cvs: phpdoc /en/reference/strings/functions stripslashes.xml
| From: | Jakub Vrana | Date: | Mon, 05 Sep 2005 12:54:08 +0000 |
| Subject: | cvs: phpdoc /en/reference/strings/functions stripslashes.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969369895@lists.php.net to get a copy of this message | ||
vrana Mon Sep 5 08:54:08 2005 EDT
Modified files:
/phpdoc/en/reference/strings/functions stripslashes.xml
Log:
magic_quotes_sybase
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/stripslashes.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/strings/functions/stripslashes.xml
diff -u phpdoc/en/reference/strings/functions/stripslashes.xml:1.5
phpdoc/en/reference/strings/functions/stripslashes.xml:1.6
--- phpdoc/en/reference/strings/functions/stripslashes.xml:1.5 Fri Sep 10 10:26:47 2004
+++ phpdoc/en/reference/strings/functions/stripslashes.xml Mon Sep 5 08:54:07 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.stripslashes">
<refnamediv>
@@ -20,6 +20,13 @@
Double backslashes (<literal>\\</literal>) are made into a single
backslash (<literal>\</literal>).
</para>
+ <note>
+ <para>
+ If <link linkend="ini.magic-quotes-sybase">magic_quotes_sybase</link>
is
+ on, no backslashes are stripped off but two apostrophes are replaced by
+ one instead.
+ </para>
+ </note>
<para>
An example use of <function>stripslashes</function> is when the PHP
directive <link linkend="ini.magic-quotes-gpc">magic_quotes_gpc</link>