reference/classobj/functions/get-object-vars.xml
c9bc21cb7302db778f3c519cbe6a9c8286dc08b8
...
...
@@ -35,47 +35,7 @@
35
35
&reftitle.returnvalues;
36
36
<para>
37
37
Returns an associative array of defined object accessible non-static properties
38
-
for the specified <parameter>object</parameter> in scope. If a property have
39
-
not been assigned a value, it will be returned with a &null; value.
40
-
</para>
41
-
</refsect1>
42
-
<refsect1 role="changelog">
43
-
&reftitle.changelog;
44
-
<para>
45
-
<informaltable>
46
-
<tgroup cols="2">
47
-
<thead>
48
-
<row>
49
-
<entry>&Version;</entry>
50
-
<entry>&Description;</entry>
51
-
</row>
52
-
</thead>
53
-
<tbody>
54
-
<row>
55
-
<entry>5.3.0</entry>
56
-
<entry>
57
-
This function now returns <type>NULL</type> if the
58
-
<parameter>object</parameter> isn't an object.
59
-
</entry>
60
-
</row>
61
-
<row>
62
-
<entry>prior to 5.3.0</entry>
63
-
<entry>
64
-
If the <parameter>object</parameter> isn't an object, then
65
-
<function>get_object_vars</function> would return &false;
66
-
</entry>
67
-
</row>
68
-
<row>
69
-
<entry>prior to 4.2.0</entry>
70
-
<entry>
71
-
If the variables declared in the class of which the
72
-
<parameter>object</parameter> is an instance, have not been assigned a
73
-
value, those will not be returned in the array
74
-
</entry>
75
-
</row>
76
-
</tbody>
77
-
</tgroup>
78
-
</informaltable>
38
+
for the specified <parameter>object</parameter> in scope.
79
39
</para>
80
40
</refsect1>
81
41
<refsect1 role="examples">
...
...
@@ -130,6 +90,11 @@ array(4) {
130
90
</screen>
131
91
</example>
132
92
</para>
93
+
<note>
94
+
<para>
95
+
Uninitialized properties are considered inaccessible, and thus will not be included in the array.
96
+
</para>
97
+
</note>
133
98
</refsect1>
134
99
<refsect1 role="seealso">
135
100
&reftitle.seealso;
136
101