Test: /ext/date/tests/date_parse_001.phpt - Version 5.6.14-dev    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
057- array(15) {
058- ["year"]=>
059- int(2006)
060- ["month"]=>
061- int(12)
062- ["day"]=>
063- int(1)
064- ["hour"]=>
065- bool(false)
066- ["minute"]=>
067- bool(false)
068- ["second"]=>
069- bool(false)
070- ["fraction"]=>
071- bool(false)
072- ["warning_count"]=>
073- int(0)
074- ["warnings"]=>
075- array(0) {
076- }
077- ["error_count"]=>
078- int(1)
079- ["errors"]=>
080- array(1) {
081- [7]=>
082- string(20) "Unexpected character"
083- }
084- ["is_localtime"]=>
085- bool(true)
086- ["zone_type"]=>
087- int(1)
088- ["zone"]=>
089- int(720)
090- ["is_dst"]=>
091- bool(false)
092- }
093- array(12) {
094- ["year"]=>
095- int(2006)
096- ["month"]=>
097- int(2)
098- ["day"]=>
099- int(30)
100- ["hour"]=>
101- bool(false)
102- ["minute"]=>
103- bool(false)
104- ["second"]=>
105- bool(false)
106- ["fraction"]=>
107- bool(false)
108- ["warning_count"]=>
109- int(1)
110- ["warnings"]=>
111- array(1) {
112- [11]=>
113- string(27) "The parsed date was invalid"
114- }
115- ["error_count"]=>
116- int(0)
117- ["errors"]=>
118- array(0) {
119- }
120- ["is_localtime"]=>
121- bool(false)
122- }
123- array(12) {
124- ["year"]=>
125- int(2006)
126- ["month"]=>
127- int(3)
128- ["day"]=>
129- int(4)
130- ["hour"]=>
131- bool(false)
132- ["minute"]=>
133- bool(false)
134- ["second"]=>
135- bool(false)
136- ["fraction"]=>
137- bool(false)
138- ["warning_count"]=>
139- int(0)
140- ["warnings"]=>
141- array(0) {
142- }
143- ["error_count"]=>
144- int(0)
145- ["errors"]=>
146- array(0) {
147- }
148- ["is_localtime"]=>
149- bool(false)
150- }
151- array(12) {
152- ["year"]=>
153- int(2006)
154- ["month"]=>
155- int(3)
156- ["day"]=>
157- int(1)
158- ["hour"]=>
159- bool(false)
160- ["minute"]=>
161- bool(false)
162- ["second"]=>
163- bool(false)
164- ["fraction"]=>
165- bool(false)
166- ["warning_count"]=>
167- int(0)
168- ["warnings"]=>
169- array(0) {
170- }
171- ["error_count"]=>
172- int(0)
173- ["errors"]=>
174- array(0) {
175- }
176- ["is_localtime"]=>
177- bool(false)
178- }
179- array(15) {
180- ["year"]=>
181- bool(false)
182- ["month"]=>
183- bool(false)
184- ["day"]=>
185- bool(false)
186- ["hour"]=>
187- bool(false)
188- ["minute"]=>
189- bool(false)
190- ["second"]=>
191- bool(false)
192- ["fraction"]=>
193- bool(false)
194- ["warning_count"]=>
195- int(0)
196- ["warnings"]=>
197- array(0) {
198- }
199- ["error_count"]=>
200- int(2)
201- ["errors"]=>
202- array(2) {
203- [0]=>
204- string(20) "Unexpected character"
205- [1]=>
206- string(20) "Unexpected character"
207- }
208- ["is_localtime"]=>
209- bool(true)
210- ["zone_type"]=>
211- int(1)
212- ["zone"]=>
213- int(180)
214- ["is_dst"]=>
215- bool(false)
216- }
217- array(15) {
218- ["year"]=>
219- bool(false)
220- ["month"]=>
221- bool(false)
222- ["day"]=>
223- bool(false)
224- ["hour"]=>
225- bool(false)
226- ["minute"]=>
227- bool(false)
228- ["second"]=>
229- bool(false)
230- ["fraction"]=>
231- bool(false)
232- ["warning_count"]=>
233- int(0)
234- ["warnings"]=>
235- array(0) {
236- }
237- ["error_count"]=>
238- int(1)
239- ["errors"]=>
240- array(1) {
241- [0]=>
242- string(20) "Unexpected character"
243- }
244- ["is_localtime"]=>
245- bool(true)
246- ["zone_type"]=>
247- int(1)
248- ["zone"]=>
249- int(0)
250- ["is_dst"]=>
251- bool(false)
252- }
253- array(12) {
254- ["year"]=>
255- bool(false)
256- ["month"]=>
257- bool(false)
258- ["day"]=>
259- bool(false)
260- ["hour"]=>
261- bool(false)
262- ["minute"]=>
263- bool(false)
264- ["second"]=>
265- bool(false)
266- ["fraction"]=>
267- bool(false)
268- ["warning_count"]=>
269- int(0)
270- ["warnings"]=>
271- array(0) {
272- }
273- ["error_count"]=>
274- int(1)
275- ["errors"]=>
276- array(1) {
277- [0]=>
278- string(12) "Empty string"
279- }
280- ["is_localtime"]=>
281- bool(false)
282- }
283-
284- Warning: date_parse() expects parameter 1 to be string, array given in %sdate_parse_001.php on line %d
285- bool(false)
286- Done