mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
1a756d07d0
commit
3873c1f578
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue