reference/shmop/functions/shmop-close.xml
52dc204a77076e1404257cf39f179882b90b5780
...
...
@@ -5,12 +5,18 @@
5
5
<refname>shmop_close</refname>
6
6
<refpurpose>Close shared memory block</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>void</type><methodname>shmop_close</methodname>
12
-
<methodparam><type>int</type><parameter>shmid</parameter></methodparam>
17
+
<methodparam><type>Shmop</type><parameter>shmop</parameter></methodparam>
13
18
</methodsynopsis>
19
+
&note.resource-migration-8.0-dead-function;
14
20
<para>
15
21
<function>shmop_close</function> is used to close a shared memory block.
16
22
</para>
...
...
@@ -20,10 +26,10 @@
20
26
<para>
21
27
<variablelist>
22
28
<varlistentry>
23
-
<term><parameter>shmid</parameter></term>
29
+
<term><parameter>shmop</parameter></term>
24
30
<listitem>
25
31
<para>
26
-
The shared memory block identifier created by
32
+
The shared memory block resource created by
27
33
<function>shmop_open</function>
28
34
</para>
29
35
</listitem>
...
...
@@ -37,6 +43,30 @@
37
43
&return.void;
38
44
</para>
39
45
</refsect1>
46
+

47
+
<refsect1 role="changelog">
48
+
&reftitle.changelog;
49
+
<informaltable>
50
+
<tgroup cols="2">
51
+
<thead>
52
+
<row>
53
+
<entry>&Version;</entry>
54
+
<entry>&Description;</entry>
55
+
</row>
56
+
</thead>
57
+
<tbody>
58
+
<row>
59
+
<entry>8.0.0</entry>
60
+
<entry>
61
+
<parameter>shmop</parameter> expects a <classname>Shmop</classname>
62
+
instance now; previously, a <type>resource</type> was expected.
63
+
</entry>
64
+
</row>
65
+
</tbody>
66
+
</tgroup>
67
+
</informaltable>
68
+
</refsect1>
69
+

40
70
<refsect1 role="examples">
41
71
&reftitle.examples;
42
72
<para>
...
...
@@ -64,7 +94,6 @@ shmop_close($shm_id);
64
94
</para>
65
95
</refsect1>
66
96
</refentry>
67
-

68
97
<!-- Keep this comment at the end of the file
69
98
Local variables:
70
99
mode: sgml
71
100