Test: /ext/standard/tests/array/array_pad_variation6.phpt - Version 5.4.27-dev    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+
001- *** Testing array_pad() : Passing different arrays to $input argument ***
002- -- Iteration 1 --
003- array(6) {
004- [0]=>
005- int(1)
006- [1]=>
007- int(2)
008- [2]=>
009- string(5) "HELLO"
010- [3]=>
011- string(5) "HELLO"
012- [4]=>
013- string(5) "HELLO"
014- [5]=>
015- string(5) "HELLO"
016- }
017- array(6) {
018- [0]=>
019- string(5) "HELLO"
020- [1]=>
021- string(5) "HELLO"
022- [2]=>
023- string(5) "HELLO"
024- [3]=>
025- string(5) "HELLO"
026- [4]=>
027- int(1)
028- [5]=>
029- int(2)
030- }
031- -- Iteration 2 --
032- array(6) {
033- [0]=>
034- float(1.1)
035- [1]=>
036- float(2.2)
037- [2]=>
038- string(5) "HELLO"
039- [3]=>
040- string(5) "HELLO"
041- [4]=>
042- string(5) "HELLO"
043- [5]=>
044- string(5) "HELLO"
045- }
046- array(6) {
047- [0]=>
048- string(5) "HELLO"
049- [1]=>
050- string(5) "HELLO"
051- [2]=>
052- string(5) "HELLO"
053- [3]=>
054- string(5) "HELLO"
055- [4]=>
056- float(1.1)
057- [5]=>
058- float(2.2)
059- }
060- -- Iteration 3 --
061- array(6) {
062- [0]=>
063- bool(false)
064- [1]=>
065- bool(true)
066- [2]=>
067- string(5) "HELLO"
068- [3]=>
069- string(5) "HELLO"
070- [4]=>
071- string(5) "HELLO"
072- [5]=>
073- string(5) "HELLO"
074- }
075- array(6) {
076- [0]=>
077- string(5) "HELLO"
078- [1]=>
079- string(5) "HELLO"
080- [2]=>
081- string(5) "HELLO"
082- [3]=>
083- string(5) "HELLO"
084- [4]=>
085- bool(false)
086- [5]=>
087- bool(true)
088- }
089- -- Iteration 4 --
090- array(6) {
091- [0]=>
092- string(5) "HELLO"
093- [1]=>
094- string(5) "HELLO"
095- [2]=>
096- string(5) "HELLO"
097- [3]=>
098- string(5) "HELLO"
099- [4]=>
100- string(5) "HELLO"
101- [5]=>
102- string(5) "HELLO"
103- }
104- array(6) {
105- [0]=>
106- string(5) "HELLO"
107- [1]=>
108- string(5) "HELLO"
109- [2]=>
110- string(5) "HELLO"
111- [3]=>
112- string(5) "HELLO"
113- [4]=>
114- string(5) "HELLO"
115- [5]=>
116- string(5) "HELLO"
117- }
118- -- Iteration 5 --
119- array(6) {
120- [0]=>
121- NULL
122- [1]=>
123- string(5) "HELLO"
124- [2]=>
125- string(5) "HELLO"
126- [3]=>
127- string(5) "HELLO"
128- [4]=>
129- string(5) "HELLO"
130- [5]=>
131- string(5) "HELLO"
132- }
133- array(6) {
134- [0]=>
135- string(5) "HELLO"
136- [1]=>
137- string(5) "HELLO"
138- [2]=>
139- string(5) "HELLO"
140- [3]=>
141- string(5) "HELLO"
142- [4]=>
143- string(5) "HELLO"
144- [5]=>
145- NULL
146- }
147- -- Iteration 6 --
148- array(6) {
149- [0]=>
150- string(3) "a "
151- [1]=>
152- string(5) "aaaa
"
153- [2]=>
154- string(5) "b bbb"
155- [3]=>
156- string(27) "\[\]\!\@\#$\%\^\&\*\(\)\{\}"
157- [4]=>
158- string(5) "HELLO"
159- [5]=>
160- string(5) "HELLO"
161- }
162- array(6) {
163- [0]=>
164- string(5) "HELLO"
165- [1]=>
166- string(5) "HELLO"
167- [2]=>
168- string(3) "a "
169- [3]=>
170- string(5) "aaaa
"
171- [4]=>
172- string(5) "b bbb"
173- [5]=>
174- string(27) "\[\]\!\@\#$\%\^\&\*\(\)\{\}"
175- }
176- -- Iteration 7 --
177- array(6) {
178- [0]=>
179- string(5) "a\v\f"
180- [1]=>
181- string(6) "aaaa\r"
182- [2]=>
183- string(6) "b\tbbb"
184- [3]=>
185- string(28) "\[\]\!\@\#\$\%\^\&\*\(\)\{\}"
186- [4]=>
187- string(5) "HELLO"
188- [5]=>
189- string(5) "HELLO"
190- }
191- array(6) {
192- [0]=>
193- string(5) "HELLO"
194- [1]=>
195- string(5) "HELLO"
196- [2]=>
197- string(5) "a\v\f"
198- [3]=>
199- string(6) "aaaa\r"
200- [4]=>
201- string(6) "b\tbbb"
202- [5]=>
203- string(28) "\[\]\!\@\#\$\%\^\&\*\(\)\{\}"
204- }
205- -- Iteration 8 --
206- array(6) {
207- ["h1"]=>
208- string(1) "
209- "
210- ["h2"]=>
211- string(86) "hello world
212- The big brown fox jumped over;
213- the lazy dog
214- This is a double quoted string"
215- ["h3"]=>
216- string(88) "hello
world
217- 1111 != 2222
218- heredoc
219- double quoted string. with different white spaces"
220- [0]=>
221- string(90) "11 < 12. 123 >22
222- 'single quoted string'
223- "double quoted string"
224- 2222 != 1111. 0000 = 0000
225- "
226- [1]=>
227- string(5) "HELLO"
228- [2]=>
229- string(5) "HELLO"
230- }
231- array(6) {
232- [0]=>
233- string(5) "HELLO"
234- [1]=>
235- string(5) "HELLO"
236- ["h1"]=>
237- string(1) "
238- "
239- ["h2"]=>
240- string(86) "hello world
241- The big brown fox jumped over;
242- the lazy dog
243- This is a double quoted string"
244- ["h3"]=>
245- string(88) "hello
world
246- 1111 != 2222
247- heredoc
248- double quoted string. with different white spaces"
249- [2]=>
250- string(90) "11 < 12. 123 >22
251- 'single quoted string'
252- "double quoted string"
253- 2222 != 1111. 0000 = 0000
254- "
255- }
256- -- Iteration 9 --
257- array(6) {
258- [0]=>
259- string(3) "one"
260- [1]=>
261- string(3) "two"
262- [2]=>
263- string(5) "three"
264- [3]=>
265- string(5) "HELLO"
266- [4]=>
267- string(5) "HELLO"
268- [5]=>
269- string(5) "HELLO"
270- }
271- array(6) {
272- [0]=>
273- string(5) "HELLO"
274- [1]=>
275- string(5) "HELLO"
276- [2]=>
277- string(5) "HELLO"
278- [3]=>
279- string(3) "one"
280- [4]=>
281- string(3) "two"
282- [5]=>
283- string(5) "three"
284- }
285- -- Iteration 10 --
286- array(6) {
287- ["one"]=>
288- int(1)
289- ["two"]=>
290- int(2)
291- ["three"]=>
292- int(3)
293- [0]=>
294- string(5) "HELLO"
295- [1]=>
296- string(5) "HELLO"
297- [2]=>
298- string(5) "HELLO"
299- }
300- array(6) {
301- [0]=>
302- string(5) "HELLO"
303- [1]=>
304- string(5) "HELLO"
305- [2]=>
306- string(5) "HELLO"
307- ["one"]=>
308- int(1)
309- ["two"]=>
310- int(2)
311- ["three"]=>
312- int(3)
313- }
314- -- Iteration 11 --
315- array(6) {
316- [0]=>
317- int(10)
318- [1]=>
319- int(20)
320- [2]=>
321- int(40)
322- [3]=>
323- int(30)
324- [4]=>
325- string(5) "HELLO"
326- [5]=>
327- string(5) "HELLO"
328- }
329- array(6) {
330- [0]=>
331- string(5) "HELLO"
332- [1]=>
333- string(5) "HELLO"
334- [2]=>
335- int(10)
336- [3]=>
337- int(20)
338- [4]=>
339- int(40)
340- [5]=>
341- int(30)
342- }
343- -- Iteration 12 --
344- array(6) {
345- ["one"]=>
346- string(3) "ten"
347- ["two"]=>
348- string(6) "twenty"
349- ["three"]=>
350- string(6) "thirty"
351- [0]=>
352- string(5) "HELLO"
353- [1]=>
354- string(5) "HELLO"
355- [2]=>
356- string(5) "HELLO"
357- }
358- array(6) {
359- [0]=>
360- string(5) "HELLO"
361- [1]=>
362- string(5) "HELLO"
363- [2]=>
364- string(5) "HELLO"
365- ["one"]=>
366- string(3) "ten"
367- ["two"]=>
368- string(6) "twenty"
369- ["three"]=>
370- string(6) "thirty"
371- }
372- -- Iteration 13 --
373- array(6) {
374- ["one"]=>
375- int(1)
376- [0]=>
377- string(3) "two"
378- [1]=>
379- string(4) "four"
380- [2]=>
381- string(5) "HELLO"
382- [3]=>
383- string(5) "HELLO"
384- [4]=>
385- string(5) "HELLO"
386- }
387- array(6) {
388- [0]=>
389- string(5) "HELLO"
390- [1]=>
391- string(5) "HELLO"
392- [2]=>
393- string(5) "HELLO"
394- ["one"]=>
395- int(1)
396- [3]=>
397- string(3) "two"
398- [4]=>
399- string(4) "four"
400- }
401- -- Iteration 14 --
402- array(6) {
403- [""]=>
404- string(4) "null"
405- ["NULL"]=>
406- NULL
407- ["null"]=>
408- NULL
409- [0]=>
410- string(5) "HELLO"
411- [1]=>
412- string(5) "HELLO"
413- [2]=>
414- string(5) "HELLO"
415- }
416- array(6) {
417- [0]=>
418- string(5) "HELLO"
419- [1]=>
420- string(5) "HELLO"
421- [2]=>
422- string(5) "HELLO"
423- [""]=>
424- string(4) "null"
425- ["NULL"]=>
426- NULL
427- ["null"]=>
428- NULL
429- }
430- -- Iteration 15 --
431- array(6) {
432- [0]=>
433- string(4) "true"
434- [1]=>
435- string(5) "false"
436- ["false"]=>
437- bool(false)
438- ["true"]=>
439- bool(true)
440- [2]=>
441- string(5) "HELLO"
442- [3]=>
443- string(5) "HELLO"
444- }
445- array(6) {
446- [0]=>
447- string(5) "HELLO"
448- [1]=>
449- string(5) "HELLO"
450- [2]=>
451- string(4) "true"
452- [3]=>
453- string(5) "false"
454- ["false"]=>
455- bool(false)
456- ["true"]=>
457- bool(true)
458- }
459- -- Iteration 16 --
460- array(6) {
461- [""]=>
462- string(6) "emptys"
463- ["emptyd"]=>
464- string(0) ""
465- ["emptys"]=>
466- string(0) ""
467- [0]=>
468- string(5) "HELLO"
469- [1]=>
470- string(5) "HELLO"
471- [2]=>
472- string(5) "HELLO"
473- }
474- array(6) {
475- [0]=>
476- string(5) "HELLO"
477- [1]=>
478- string(5) "HELLO"
479- [2]=>
480- string(5) "HELLO"
481- [""]=>
482- string(6) "emptys"
483- ["emptyd"]=>
484- string(0) ""
485- ["emptys"]=>
486- string(0) ""
487- }
488- -- Iteration 17 --
489- array(6) {
490- [1]=>
491- string(0) ""
492- [2]=>
493- string(0) ""
494- [3]=>
495- NULL
496- [4]=>
497- NULL
498- [5]=>
499- bool(false)
500- [6]=>
501- bool(true)
502- }
503- array(6) {
504- [1]=>
505- string(0) ""
506- [2]=>
507- string(0) ""
508- [3]=>
509- NULL
510- [4]=>
511- NULL
512- [5]=>
513- bool(false)
514- [6]=>
515- bool(true)
516- }
517- -- Iteration 18 --
518- array(6) {
519- [""]=>
520- int(4)
521- [0]=>
522- int(5)
523- [1]=>
524- int(6)
525- [2]=>
526- string(5) "HELLO"
527- [3]=>
528- string(5) "HELLO"
529- [4]=>
530- string(5) "HELLO"
531- }
532- array(6) {
533- [0]=>
534- string(5) "HELLO"
535- [1]=>
536- string(5) "HELLO"
537- [2]=>
538- string(5) "HELLO"
539- [""]=>
540- int(4)
541- [3]=>
542- int(5)
543- [4]=>
544- int(6)
545- }
546- -- Iteration 19 --
547- array(6) {
548- ["One"]=>
549- int(10)
550- ["two"]=>
551- int(20)
552- ["three"]=>
553- int(3)
554- [0]=>
555- string(5) "HELLO"
556- [1]=>
557- string(5) "HELLO"
558- [2]=>
559- string(5) "HELLO"
560- }
561- array(6) {
562- [0]=>
563- string(5) "HELLO"
564- [1]=>
565- string(5) "HELLO"
566- [2]=>
567- string(5) "HELLO"
568- ["One"]=>
569- int(10)
570- ["two"]=>
571- int(20)
572- ["three"]=>
573- int(3)
574- }
575- Done