language/predefined/arrayaccess/offsetget.xml
ed312486fff2251b6625b017df2e8f847f656296
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="arrayaccess.offsetget" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>ArrayAccess::offsetGet</refname>
...
...
@@ -9,8 +8,8 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>abstract</modifier> <modifier>public</modifier> <type>mixed</type><methodname>ArrayAccess::offsetGet</methodname>
11
+
<methodsynopsis role="ArrayAccess">
12
+
<modifier>public</modifier> <type>mixed</type><methodname>ArrayAccess::offsetGet</methodname>
14
13
<methodparam><type>mixed</type><parameter>offset</parameter></methodparam>
15
14
</methodsynopsis>
16
15
<para>
...
...
@@ -38,12 +37,18 @@
38
37

39
38
</refsect1>
40
39

40
+
<refsect1 role="returnvalues">
41
+
&reftitle.returnvalues;
42
+
<para>
43
+
Can return all value types.
44
+
</para>
45
+
</refsect1>
46
+

41
47
<refsect1 role="notes">
42
48
&reftitle.notes;
43
49
<note>
44
50
<para>
45
-
Starting with PHP 5.3.4, the prototype checks were relaxed and it's
46
-
possible for implementations of this method to return by reference.
51
+
It's possible for implementations of this method to return by reference.
47
52
This makes indirect modifications to the overloaded array dimensions of
48
53
<classname>ArrayAccess</classname> objects possible.
49
54
</para>
...
...
@@ -68,13 +73,6 @@
68
73
</note>
69
74
</refsect1>
70
75

71
-
<refsect1 role="returnvalues">
72
-
&reftitle.returnvalues;
73
-
<para>
74
-
Can return all value types.
75
-
</para>
76
-
</refsect1>
77
-

78
76
<!--
79
77
<refsect1 role="examples">
80
78
&reftitle.examples;
...
...
@@ -109,7 +107,6 @@
109
107
</refsect1>
110
108

111
109
</refentry>
112
-

113
110
<!-- Keep this comment at the end of the file
114
111
Local variables:
115
112
mode: sgml
116
113