reference/strings/functions/stripslashes.xml
8cdc6621f9826d04abc3e50438c010804d7e8683
...
...
@@ -16,9 +16,7 @@
16
16
Un-quotes a quoted string.
17
17
</para>
18
18
<para>
19
-
An example use of <function>stripslashes</function> is when the PHP
20
-
directive <link linkend="ini.magic-quotes-gpc">magic_quotes_gpc</link>
21
-
is <literal>on</literal> (it was on by default before PHP 5.4), and you aren't inserting
19
+
<function>stripslashes</function> can be used if you aren't inserting
22
20
this data into a place (such as a database) that requires escaping.
23
21
For example, if you're simply outputting data straight from an HTML form.
24
22
</para>
25
23