Commit 87a2032 1 parent befa5f1 commit 87a2032 Copy full SHA for 87a2032
File tree 2 files changed +41
-32
lines changed
reference/spl/arrayobject
2 files changed +41
-32
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: d51166ca16fda8e766849505b84f9306ef443f71 Maintainer: zongbao Status: ready -->
3
+ <!-- EN-Revision: 52e3799c4caf4a0448eea45b97c4d76a2d59c95d Maintainer: zongbao Status: ready -->
4
4
<!-- CREDITS: mowangjuanzi -->
5
5
<refentry xml : id =" arrayobject.append" xmlns =" http://docbook.org/ns/docbook" >
6
6
<refnamediv >
@@ -64,21 +64,24 @@ var_dump($arrayobj);
64
64
&example.outputs;
65
65
<screen >
66
66
<![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) {
78
70
[0]=>
79
- string(4 ) "five "
71
+ string(5 ) "first "
80
72
[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
+ }
82
85
}
83
86
}
84
87
]]>
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: d51166ca16fda8e766849505b84f9306ef443f71 Maintainer: zongbao Status: ready -->
3
+ <!-- EN-Revision: 52e3799c4caf4a0448eea45b97c4d76a2d59c95d Maintainer: zongbao Status: ready -->
4
4
<!-- CREDITS: mowangjuanzi -->
5
5
<refentry xml : id =" arrayobject.offsetset" xmlns =" http://docbook.org/ns/docbook" >
6
6
<refnamediv >
@@ -76,27 +76,33 @@ var_dump($arrayobj);
76
76
&example.outputs;
77
77
<screen >
78
78
<![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) {
86
98
[0]=>
87
- string(2 ) "g1 "
99
+ string(4 ) "zero "
88
100
[1]=>
89
- string(2) "g2"
101
+ string(3) "one"
102
+ [2]=>
103
+ string(4) "last"
90
104
}
91
105
}
92
- object(ArrayObject)#3 (3) {
93
- [0]=>
94
- string(4) "zero"
95
- [1]=>
96
- string(3) "one"
97
- [2]=>
98
- string(4) "last"
99
- }
100
106
]]>
101
107
</screen >
102
108
</example >
You can’t perform that action at this time.
0 commit comments