reference/enchant/functions/enchant-broker-free-dict.xml
94f2c273f0bb214580b3cba17273f79e8cc2cb25
...
...
@@ -5,28 +5,27 @@
5
5
<refname>enchant_broker_free_dict</refname>
6
6
<refpurpose>Free a dictionary resource</refpurpose>
7
7
</refnamediv>
8
+

9
+
<refsynopsisdiv>
10
+
&warn.deprecated.function-8-0-0;
11
+
</refsynopsisdiv>
12
+

8
13
<refsect1 role="description">
9
14
&reftitle.description;
10
15
<methodsynopsis>
11
16
<type>bool</type><methodname>enchant_broker_free_dict</methodname>
12
-
<methodparam><type>resource</type><parameter>dict</parameter></methodparam>
17
+
<methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
13
18
</methodsynopsis>
14
19
<para>
15
-
Free a dictionary resource.
20
+
Free a dictionary.
21
+
As of PHP 8.0.0, it is recommended to unset the object instead of calling this function.
16
22
</para>
17
23
</refsect1>
18
24
<refsect1 role="parameters">
19
25
&reftitle.parameters;
20
26
<para>
21
27
<variablelist>
22
-
<varlistentry>
23
-
<term><parameter>dict</parameter></term>
24
-
<listitem>
25
-
<para>
26
-
Dictionary resource.
27
-
</para>
28
-
</listitem>
29
-
</varlistentry>
28
+
&enchant.param.dictionary;
30
29
</variablelist>
31
30
</para>
32
31
</refsect1>
...
...
@@ -38,7 +37,30 @@
38
37
</para>
39
38
</refsect1>
40
39

41
-
<refsect1 role="seealso">
40
+
<refsect1 role="changelog">
41
+
&reftitle.changelog;
42
+
<informaltable>
43
+
<tgroup cols="2">
44
+
<thead>
45
+
<row>
46
+
<entry>&Version;</entry>
47
+
<entry>&Description;</entry>
48
+
</row>
49
+
</thead>
50
+
<tbody>
51
+
<row>
52
+
<entry>8.0.0</entry>
53
+
<entry>
54
+
<parameter>dictionary</parameter> expects a <classname>EnchantDictionary</classname> now;
55
+
previoulsy, a &resource; was expected.
56
+
</entry>
57
+
</row>
58
+
</tbody>
59
+
</tgroup>
60
+
</informaltable>
61
+
</refsect1>
62
+

63
+
<refsect1 role="seealso">
42
64
&reftitle.seealso;
43
65
<para>
44
66
<simplelist>
...
...
@@ -50,7 +72,6 @@
50
72

51
73

52
74
</refentry>
53
-

54
75
<!-- Keep this comment at the end of the file
55
76
Local variables:
56
77
mode: sgml
57
78