~hexmode/ubuntu/lucid/php5/php5.fix-php-bug-33210

« back to all changes in this revision

Viewing changes to ext/standard/tests/array/array_slice_variation2.diff

  • Committer: Bazaar Package Importer
  • Author(s): Marc Deslauriers
  • Date: 2009-11-30 14:13:45 UTC
  • mfrom: (0.3.4 sid)
  • Revision ID: james.westby@ubuntu.com-20091130141345-db35ow8gpyjqn8e0
Tags: 5.2.11.dfsg.1-2ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/control, debian/rules: Disable a few build dependencies and
    accompanying binary packages which we do not want to support in main:
    + firebird2-dev/php5-interbase (we have a seperate php-interbase source)
    + libc-client/php5-imap (we have a seperate php-imap source)
    + libmcrypt-dev/php5-mcrypt (seperate php-mcrypt source)
    + readline support again, now that the libedit issue is fixed.
  - debian/control: Add build dependency: libdedit-dev (>= 2.9.cvs.20050518-1)
    CLI readline support.
  - debian/rules:
    + Correctly mangle PHP5_* macros for lpia
  - debian/control:
    + Rename Vcs-Browser & Vcs-Git to XS-Original-Vcs-Browser & XS-Original-Vcs-Git (LP: #323731).
  - debian/control: Move php5-suhoshin to Suggests.
  - debian/rules: Fix broken symlink for pear.
  - main/php_version.h: updated with Ubuntu version info
* debian/patches/series: Re-enable the 033-we_WANT_libtool.patch patch
* debian/patches/sybase-alias.patch: use the debian patch
* Dropped unapplied patches: fix_64bit_time.patch,
  fix-autoconf-ftbfs.patch, 027-readline_is_editline.patch,
  deprecated_freetds_check.patch, use-specific-libdb-version.patch,
  CVE-2008-5625.patch.
* SECURITY UPDATE: safe_mode bypass via tempam function
  - debian/patches/CVE-2009-3557.patch: check for safe_mode in
    ext/standard/file.c.
  - CVE-2009-3557
* SECURITY UPDATE: open_basedir restrictions bypass via posix_mkfifo
  - debian/patches/CVE-2009-3558.patch: check for open_basedir in
    ext/posix/posix.c.
  - CVE-2009-3558

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
058+ array(0) {
2
 
059+ }
3
 
060+ 
4
 
061+ -- Iteration 8 --
5
 
069- -- Iteration 8 --
6
 
073+ -- Iteration 9 --
7
 
081- -- Iteration 9 --
8
 
085+ -- Iteration 10 --
9
 
093- -- Iteration 10 --
10
 
097+ -- Iteration 11 --
11
 
105- -- Iteration 11 --
12
 
109+ -- Iteration 12 --
13
 
110+ array(3) {
14
 
111+   [0]=>
15
 
112+   int(2)
16
 
113+   ["three"]=>
17
 
114+   int(3)
18
 
115+   [1]=>
19
 
116+   int(4)
20
 
117+ }
21
 
118+ 
22
 
119+ -- Iteration 13 --
23
 
117- -- Iteration 12 --
24
 
127- -- Iteration 13 --
25
 
131+ -- Iteration 14 --
26
 
139- -- Iteration 14 --
27
 
140- array(3) {
28
 
141-   [0]=>
29
 
142-   int(2)
30
 
143-   ["three"]=>
31
 
144-   int(3)
32
 
145-   [1]=>
33
 
146-   int(4)
34
 
147- }
35
 
148- 
36
 
149- -- Iteration 15 --
37
 
141+ -- Iteration 15 --
38
 
153+ -- Iteration 16 --
39
 
154+ 
40
 
155+ Warning: array_slice() expects parameter 2 to be long, string given in /local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/array/array_slice_variation2.php on line 83
41
 
156+ NULL
42
 
157+ 
43
 
158+ -- Iteration 17 --
44
 
159+ 
45
 
160+ Warning: array_slice() expects parameter 2 to be long, string given in /local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/array/array_slice_variation2.php on line 83
46
 
161+ NULL
47
 
162+ 
48
 
163+ -- Iteration 18 --
49
 
164+ 
50
 
165+ Warning: array_slice() expects parameter 2 to be long, array given in /local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/array/array_slice_variation2.php on line 83
51
 
166+ NULL
52
 
167+ 
53
 
168+ -- Iteration 19 --
54
 
169+ 
55
 
170+ Warning: array_slice() expects parameter 2 to be long, string given in /local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/array/array_slice_variation2.php on line 83
56
 
171+ NULL
57
 
172+ 
58
 
173+ -- Iteration 20 --
59
 
174+ 
60
 
175+ Warning: array_slice() expects parameter 2 to be long, string given in /local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/array/array_slice_variation2.php on line 83
61
 
176+ NULL
62
 
177+ 
63
 
178+ -- Iteration 21 --
64
 
179+ 
65
 
180+ Warning: array_slice() expects parameter 2 to be long, string given in /local/work/source/php5_5.2.6/php5-5.2.6-1ubuntu1/ext/standard/tests/array/array_slice_variation2.php on line 83
66
 
181+ NULL
67
 
182+ 
68
 
183+ -- Iteration 22 --
69
 
161- -- Iteration 16 --
70
 
162- 
71
 
163- Warning: array_slice() expects parameter 2 to be long, string given in %s on line %d
72
 
164- NULL
73
 
165- 
74
 
166- -- Iteration 17 --
75
 
167- 
76
 
168- Warning: array_slice() expects parameter 2 to be long, string given in %s on line %d
77
 
169- NULL
78
 
170- 
79
 
171- -- Iteration 18 --
80
 
172- 
81
 
195+ -- Iteration 23 --
82
 
196+ array(4) {
83
 
197+   ["one"]=>
84
 
198+   int(1)
85
 
199+   [0]=>
86
 
200+   int(2)
87
 
201+   ["three"]=>
88
 
202+   int(3)
89
 
203+   [1]=>
90
 
204+   int(4)
91
 
205+ }
92
 
206+ Done
93
 
173- Warning: array_slice() expects parameter 2 to be long, array given in %s on line %d
94
 
174- NULL
95
 
175- 
96
 
176- -- Iteration 19 --
97
 
177- 
98
 
178- Warning: array_slice() expects parameter 2 to be long, string given in %s on line %d
99
 
179- NULL
100
 
180- 
101
 
181- -- Iteration 20 --
102
 
182- 
103
 
183- Warning: array_slice() expects parameter 2 to be long, string given in %s on line %d
104
 
184- NULL
105
 
185- 
106
 
186- -- Iteration 21 --
107
 
187- 
108
 
188- Warning: array_slice() expects parameter 2 to be long, string given in %s on line %d
109
 
189- NULL
110
 
190- 
111
 
191- -- Iteration 22 --
112
 
192- array(4) {
113
 
193-   ["one"]=>
114
 
194-   int(1)
115
 
195-   [0]=>
116
 
196-   int(2)
117
 
197-   ["three"]=>
118
 
198-   int(3)
119
 
199-   [1]=>
120
 
200-   int(4)
121
 
201- }
122
 
202- 
123
 
203- -- Iteration 23 --
124
 
204- array(4) {
125
 
205-   ["one"]=>
126
 
206-   int(1)
127
 
207-   [0]=>
128
 
208-   int(2)
129
 
209-   ["three"]=>
130
 
210-   int(3)
131
 
211-   [1]=>
132
 
212-   int(4)
133
 
213- }
134
 
214- Done
 
 
b'\\ No newline at end of file'