Skip to content

Commit 87a2032

Browse files
committed
Update spl
1 parent befa5f1 commit 87a2032

File tree

2 files changed

+41
-32
lines changed

2 files changed

+41
-32
lines changed

reference/spl/arrayobject/append.xml

+17-14
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: d51166ca16fda8e766849505b84f9306ef443f71 Maintainer: zongbao Status: ready -->
3+
<!-- EN-Revision: 52e3799c4caf4a0448eea45b97c4d76a2d59c95d Maintainer: zongbao Status: ready -->
44
<!-- CREDITS: mowangjuanzi -->
55
<refentry xml:id="arrayobject.append" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -64,21 +64,24 @@ var_dump($arrayobj);
6464
&example.outputs;
6565
<screen>
6666
<![CDATA[
67-
object(ArrayObject)#1 (5) {
68-
[0]=>
69-
string(5) "first"
70-
[1]=>
71-
string(6) "second"
72-
[2]=>
73-
string(5) "third"
74-
[3]=>
75-
string(6) "fourth"
76-
[4]=>
77-
array(2) {
67+
object(ArrayObject)#1 (1) {
68+
["storage":"ArrayObject":private]=>
69+
array(5) {
7870
[0]=>
79-
string(4) "five"
71+
string(5) "first"
8072
[1]=>
81-
string(3) "six"
73+
string(6) "second"
74+
[2]=>
75+
string(5) "third"
76+
[3]=>
77+
string(6) "fourth"
78+
[4]=>
79+
array(2) {
80+
[0]=>
81+
string(4) "five"
82+
[1]=>
83+
string(3) "six"
84+
}
8285
}
8386
}
8487
]]>

reference/spl/arrayobject/offsetset.xml

+24-18
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: d51166ca16fda8e766849505b84f9306ef443f71 Maintainer: zongbao Status: ready -->
3+
<!-- EN-Revision: 52e3799c4caf4a0448eea45b97c4d76a2d59c95d Maintainer: zongbao Status: ready -->
44
<!-- CREDITS: mowangjuanzi -->
55
<refentry xml:id="arrayobject.offsetset" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -76,27 +76,33 @@ var_dump($arrayobj);
7676
&example.outputs;
7777
<screen>
7878
<![CDATA[
79-
object(ArrayObject)#1 (3) {
80-
["property"]=>
81-
string(11) "prop:public"
82-
[4]=>
83-
string(4) "four"
84-
["group"]=>
85-
array(2) {
79+
object(ArrayObject)#1 (1) {
80+
["storage":"ArrayObject":private]=>
81+
object(Example)#2 (3) {
82+
["property"]=>
83+
string(11) "prop:public"
84+
["4"]=>
85+
string(4) "four"
86+
["group"]=>
87+
array(2) {
88+
[0]=>
89+
string(2) "g1"
90+
[1]=>
91+
string(2) "g2"
92+
}
93+
}
94+
}
95+
object(ArrayObject)#3 (1) {
96+
["storage":"ArrayObject":private]=>
97+
array(3) {
8698
[0]=>
87-
string(2) "g1"
99+
string(4) "zero"
88100
[1]=>
89-
string(2) "g2"
101+
string(3) "one"
102+
[2]=>
103+
string(4) "last"
90104
}
91105
}
92-
object(ArrayObject)#3 (3) {
93-
[0]=>
94-
string(4) "zero"
95-
[1]=>
96-
string(3) "one"
97-
[2]=>
98-
string(4) "last"
99-
}
100106
]]>
101107
</screen>
102108
</example>

0 commit comments

Comments
 (0)