Test: /ext/standard/tests/array/array_slice_variation7.phpt - Version 5.4.43    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
053+ string(5) "small
053- string(5) "small"
054- }
055- $preserve_keys = FALSE
056- array(2) {
057- [0]=>
058- string(5) "large"
059- [1]=>
060- string(5) "small"
061- }
062-
063- -- Iteration 4 : key type is null uppercase --
064- $preserve_keys = TRUE
065- array(1) {
066- [""]=>
067- string(6) "null 1"
068- }
069- $preserve_keys = FALSE
070- array(1) {
071- [""]=>
072- string(6) "null 1"
073- }
074-
075- -- Iteration 5 : key type is null lowercase --
076- $preserve_keys = TRUE
077- array(1) {
078- [""]=>
079- string(6) "null 2"
080- }
081- $preserve_keys = FALSE
082- array(1) {
083- [""]=>
084- string(6) "null 2"
085- }
086-
087- -- Iteration 6 : key type is bool lowercase --
088- $preserve_keys = TRUE
089- array(2) {
090- [1]=>
091- string(6) "lowert"
092- [0]=>
093- string(6) "lowerf"
094- }
095- $preserve_keys = FALSE
096- array(2) {
097- [0]=>
098- string(6) "lowert"
099- [1]=>
100- string(6) "lowerf"
101- }
102-
103- -- Iteration 7 : key type is bool uppercase --
104- $preserve_keys = TRUE
105- array(2) {
106- [1]=>
107- string(6) "uppert"
108- [0]=>
109- string(6) "upperf"
110- }
111- $preserve_keys = FALSE
112- array(2) {
113- [0]=>
114- string(6) "uppert"
115- [1]=>
116- string(6) "upperf"
117- }
118-
119- -- Iteration 8 : key type is empty double quotes --
120- $preserve_keys = TRUE
121- array(1) {
122- [""]=>
123- string(6) "emptyd"
124- }
125- $preserve_keys = FALSE
126- array(1) {
127- [""]=>
128- string(6) "emptyd"
129- }
130-
131- -- Iteration 9 : key type is empty single quotes --
132- $preserve_keys = TRUE
133- array(1) {
134- [""]=>
135- string(6) "emptys"
136- }
137- $preserve_keys = FALSE
138- array(1) {
139- [""]=>
140- string(6) "emptys"
141- }
142-
143- -- Iteration 10 : key type is string --
144- $preserve_keys = TRUE
145- array(3) {
146- ["stringd"]=>
147- string(7) "stringd"
148- ["strings"]=>
149- string(7) "strings"
150- ["hello world"]=>
151- string(7) "stringh"
152- }
153- $preserve_keys = FALSE
154- array(3) {
155- ["stringd"]=>
156- string(7) "stringd"
157- ["strings"]=>
158- string(7) "strings"
159- ["hello world"]=>
160- string(7) "stringh"
161- }
162-
163- -- Iteration 11 : key type is undefined --
164- $preserve_keys = TRUE
165- array(1) {
166- [""]=>
167- string(9) "undefined"
168- }
169- $preserve_keys = FALSE
170- array(1) {
171- [""]=>
172- string(9) "undefined"
173- }
174-
175- -- Iteration 12 : key type is unset --
176- $preserve_keys = TRUE
177- array(1) {
178- [""]=>
179- string(5) "unset"
180- }
181- $preserve_keys = FALSE
182- array(1) {
183- [""]=>
184- string(5) "unset"
185- }
186- Done