reference/info/functions/get-magic-quotes-runtime.xml
62aa2694baf7fe904744a9b0f8a2a26e7fc3cf12
...
...
@@ -6,23 +6,30 @@
6
6
<refpurpose>Gets the current active configuration setting of magic_quotes_runtime</refpurpose>
7
7
</refnamediv>
8
8
9
+
<refsynopsisdiv>
10
+
&warn.deprecated.function-7-4-0.removed-8-0-0;
11
+
</refsynopsisdiv>
12
+

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

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

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

...
...
@@ -39,9 +46,9 @@
39
46
</thead>
40
47
<tbody>
41
48
<row>
42
-
<entry>5.4.0</entry>
49
+
<entry>7.4.0</entry>
43
50
<entry>
44
-
Always returns &false; because the magic quotes feature was removed from PHP.
51
+
This function has been deprecated.
45
52
</entry>
46
53
</row>
47
54
</tbody>
...
...
@@ -50,33 +57,11 @@
50
57
</para>
51
58
</refsect1>
52
59

53
-
<refsect1 role="examples">
54
-
&reftitle.examples;
55
-
<para>
56
-
<example>
57
-
<title><function>get_magic_quotes_runtime</function> example</title>
58
-
<programlisting role="php">
59
-
<![CDATA[
60
-
<?php
61
-
// Check if magic_quotes_runtime is active
62
-
if(get_magic_quotes_runtime())
63
-
{
64
-
// Deactivate
65
-
set_magic_quotes_runtime(false);
66
-
}
67
-
?>
68
-
]]>
69
-
</programlisting>
70
-
</example>
71
-
</para>
72
-
</refsect1>
73
-

74
60
<refsect1 role="seealso">
75
61
&reftitle.seealso;
76
62
<para>
77
63
<simplelist>
78
64
<member><function>get_magic_quotes_gpc</function></member>
79
-
<member><function>set_magic_quotes_runtime</function></member>
80
65
</simplelist>
81
66
</para>
82
67
</refsect1>
83
68