reference/var/functions/is-object.xml
ccc438a27bae31d71fe2ca7dc095360db5bc1af6
...
...
@@ -8,10 +8,10 @@
8
8

9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
-
<methodsynopsis>
12
-
<type>bool</type><methodname>is_object</methodname>
13
-
<methodparam><type>mixed</type><parameter>var</parameter></methodparam>
14
-
</methodsynopsis>
11
+
<methodsynopsis>
12
+
<type>bool</type><methodname>is_object</methodname>
13
+
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
14
+
</methodsynopsis>
15
15
<para>
16
16
Finds whether the given variable is an object.
17
17
</para>
...
...
@@ -22,7 +22,7 @@
22
22
<para>
23
23
<variablelist>
24
24
<varlistentry>
25
-
<term><parameter>var</parameter></term>
25
+
<term><parameter>value</parameter></term>
26
26
<listitem>
27
27
<para>
28
28
The variable being evaluated.
...
...
@@ -36,11 +36,37 @@
36
36
<refsect1 role="returnvalues">
37
37
&reftitle.returnvalues;
38
38
<para>
39
-
Returns &true; if <parameter>var</parameter> is an <type>object</type>,
39
+
Returns &true; if <parameter>value</parameter> is an <type>object</type>,
40
40
&false; otherwise.
41
41
</para>
42
42
</refsect1>
43
43

44
+
<refsect1 role="changelog">
45
+
&reftitle.changelog;
46
+
<para>
47
+
<informaltable>
48
+
<tgroup cols="2">
49
+
<thead>
50
+
<row>
51
+
<entry>&Version;</entry>
52
+
<entry>&Description;</entry>
53
+
</row>
54
+
</thead>
55
+
<tbody>
56
+
<row>
57
+
<entry>7.2.0</entry>
58
+
<entry>
59
+
<function>is_object</function> now returns &true; for unserialized objects without
60
+
a class definition (class of <classname>__PHP_Incomplete_Class</classname>). Previously
61
+
&false; was returned.
62
+
</entry>
63
+
</row>
64
+
</tbody>
65
+
</tgroup>
66
+
</informaltable>
67
+
</para>
68
+
</refsect1>
69
+

44
70
<refsect1 role="examples">
45
71
&reftitle.examples;
46
72
<para>
...
...
@@ -74,32 +100,6 @@ var_dump(get_students($obj));
74
100
</para>
75
101
</refsect1>
76
102

77
-
<refsect1 role="changelog">
78
-
&reftitle.changelog;
79
-
<para>
80
-
<informaltable>
81
-
<tgroup cols="2">
82
-
<thead>
83
-
<row>
84
-
<entry>&Version;</entry>
85
-
<entry>&Description;</entry>
86
-
</row>
87
-
</thead>
88
-
<tbody>
89
-
<row>
90
-
<entry>7.2.0</entry>
91
-
<entry>
92
-
<function>is_object</function> now returns &true; for unserialized objects without
93
-
a class definition (class of <classname>__PHP_Incomplete_Class</classname>). Previously
94
-
&false; was returned.
95
-
</entry>
96
-
</row>
97
-
</tbody>
98
-
</tgroup>
99
-
</informaltable>
100
-
</para>
101
-
</refsect1>
102
-

103
103
<refsect1 role="seealso">
104
104
&reftitle.seealso;
105
105
<para>
...
...
@@ -114,7 +114,6 @@ var_dump(get_students($obj));
114
114
</refsect1>
115
115

116
116
</refentry>
117
-

118
117
<!-- Keep this comment at the end of the file
119
118
Local variables:
120
119
mode: sgml
121
120