reference/info/functions/get-magic-quotes-runtime.xml
62aa2694baf7fe904744a9b0f8a2a26e7fc3cf12
...
...
@@ -7,26 +7,29 @@
7
7
</refnamediv>
8
8
9
9
<refsynopsisdiv>
10
-
&warn.deprecated.function-7-4-0;
10
+
&warn.deprecated.function-7-4-0.removed-8-0-0;
11
11
</refsynopsisdiv>
12
12

13
13
<refsect1 role="description">
14
14
&reftitle.description;
15
15
<methodsynopsis>
16
-
<type>bool</type><methodname>get_magic_quotes_runtime</methodname>
16
+
<type>false</type><methodname>get_magic_quotes_runtime</methodname>
17
17
<void/>
18
18
</methodsynopsis>
19
19
<simpara>
20
-
Returns the current active configuration setting of <link
21
-
linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link>.
20
+
Always returns &false;.
22
21
</simpara>
23
22
</refsect1>
24
23

24
+
<refsect1 role="parameters">
25
+
&reftitle.parameters;
26
+
&no.function.parameters;
27
+
</refsect1>
28
+

25
29
<refsect1 role="returnvalues">
26
30
&reftitle.returnvalues;
27
31
<para>
28
-
Returns 0 if magic_quotes_runtime is off, 1 otherwise.
29
-
Or always returns &false; as of PHP 5.4.0.
32
+
Always returns &false;.
30
33
</para>
31
34
</refsect1>
32
35

...
...
@@ -48,45 +51,17 @@
48
51
This function has been deprecated.
49
52
</entry>
50
53
</row>
51
-
<row>
52
-
<entry>5.4.0</entry>
53
-
<entry>
54
-
Always returns &false; because the magic quotes feature was removed from PHP.
55
-
</entry>
56
-
</row>
57
54
</tbody>
58
55
</tgroup>
59
56
</informaltable>
60
57
</para>
61
58
</refsect1>
62
59

63
-
<refsect1 role="examples">
64
-
&reftitle.examples;
65
-
<para>
66
-
<example>
67
-
<title><function>get_magic_quotes_runtime</function> example</title>
68
-
<programlisting role="php">
69
-
<![CDATA[
70
-
<?php
71
-
// Check if magic_quotes_runtime is active
72
-
if(get_magic_quotes_runtime())
73
-
{
74
-
// Deactivate
75
-
set_magic_quotes_runtime(false);
76
-
}
77
-
?>
78
-
]]>
79
-
</programlisting>
80
-
</example>
81
-
</para>
82
-
</refsect1>
83
-

84
60
<refsect1 role="seealso">
85
61
&reftitle.seealso;
86
62
<para>
87
63
<simplelist>
88
64
<member><function>get_magic_quotes_gpc</function></member>
89
-
<member><function>set_magic_quotes_runtime</function></member>
90
65
</simplelist>
91
66
</para>
92
67
</refsect1>
93
68