Added a note saying "magic_quotes_gpc is ON by default", under addslashes description.

Hopefully will encourage people to read about magic_quotes_gpc.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@57562 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2001-09-15 01:46:41 +00:00
parent 1a756d07d0
commit 3873c1f578

View file

@ -1,5 +1,5 @@
<?xml encoding="iso-8859-1"?>
<!-- $Revision: 1.109 $ -->
<!-- $Revision: 1.110 $ -->
<reference id="ref.strings">
<title>String functions</title>
<titleabbrev>Strings</titleabbrev>
@ -117,6 +117,11 @@ echo addcslashes("zoo['.']", 'z..A');
(<literal>"</literal>), backslash (<literal>\</literal>)
and NUL (the &null; byte).
</para>
<note>
<para>
<link linkend="ini.magic-quotes-gpc">magic_quotes_gpc</link> is ON by default.
</para>
</note>
<para>
See also <function>stripslashes</function>,
<function>htmlspecialchars</function>, and