mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-28 23:08:55 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@120069 c90b9560-bf6c-de11-be94-00142212c4b1
65 lines
2 KiB
XML
65 lines
2 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.5 $ -->
|
|
<!-- splitted from ./en/functions/info.xml, last change in rev 1.2 -->
|
|
<refentry id="function.get-magic-quotes-gpc">
|
|
<refnamediv>
|
|
<refname>get_magic_quotes_gpc</refname>
|
|
<refpurpose>
|
|
Gets the current active configuration setting of magic quotes gpc
|
|
</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>get_magic_quotes_gpc</methodname>
|
|
<void/>
|
|
</methodsynopsis>
|
|
<simpara>
|
|
Returns the current active configuration setting of <link
|
|
linkend="ini.magic-quotes-gpc">magic_quotes_gpc</link> (0 for
|
|
off, 1 for on).
|
|
</simpara>
|
|
<note>
|
|
<para>
|
|
If the directive <link linkend="ini.magic-quotes-sybase">
|
|
magic_quotes_sybase</link> is ON it will completely
|
|
override <parameter>magic_quotes_gpc</parameter>. So even
|
|
when <function>get_magic_quotes</function> returns
|
|
&true; neither double quotes, backslashes or NUL's will
|
|
be escaped. Only single quotes will be escaped. In this
|
|
case they'll look like: <emphasis>''</emphasis>
|
|
</para>
|
|
</note>
|
|
<simpara>
|
|
Keep in mind that <link linkend="ini.magic-quotes-gpc">
|
|
magic_quotes_gpc</link> can not be set at runtime.
|
|
</simpara>
|
|
<simpara>
|
|
See also <function>addslashes</function>,
|
|
<function>stripslashes</function>,
|
|
<function>get_magic_quotes_runtime</function>, and
|
|
<function>ini_get</function>.
|
|
</simpara>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|