Test: /ext/date/tests/bug51819.phpt - Version 5.6.13-dev        

Bug #51819 Case discrepancy in timezone names cause Uncaught exception and fatal error
Submitted: 2010-05-14 10:10:07 Modified: 2011-06-05 15:30:47
From: shumisha Assigned: bjori
Status: Closed Package: Date/time related
PHP Version: 5.2.13 OS: linux/windows

There is 1 diff reported by users for this test.

Count Diff
16 (100%)
001+ string(158) "DateTime::__construct(): Failed to parse time string (2010-05-15 00:00:00 Australia/North) at position 20 (A): The timezone could not be found in the database"
001- string(30) "this should be the only output"
002+ Array
003+ (
004+ [warning_count] => 0
005+ [warnings] => Array
006+ (
007+ )
008+
009+ [error_count] => 1
010+ [errors] => Array
011+ (
012+ [20] => The timezone could not be found in the database
013+ )
014+
015+ )
016+ string(158) "DateTime::__construct(): Failed to parse time string (2010-05-15 00:00:00 Canada/Atlantic) at position 20 (C): The timezone could not be found in the database"
017+ Array
018+ (
019+ [warning_count] => 0
020+ [warnings] => Array
021+ (
022+ )
023+
024+ [error_count] => 1
025+ [errors] => Array
026+ (
027+ [20] => The timezone could not be found in the database
028+ )
029+
030+ )
031+ string(157) "DateTime::__construct(): Failed to parse time string (2010-05-15 00:00:00 Canada/Central) at position 20 (C): The timezone could not be found in the database"
032+ Array
033+ (
034+ [warning_count] => 0
035+ [warnings] => Array
036+ (
037+ )
038+
039+ [error_count] => 1
040+ [errors] => Array
041+ (
042+ [20] => The timezone could not be found in the database
043+ )
044+
045+ )
046+ string(157) "DateTime::__construct(): Failed to parse time string (2010-05-15 00:00:00 Mexico/General) at position 20 (M): The timezone could not be found in the database"
047+ Array
048+ (
049+ [warning_count] => 0
050+ [warnings] => Array
051+ (
052+ )
053+
054+ [error_count] => 1
055+ [errors] => Array
056+ (
057+ [20] => The timezone could not be found in the database
058+ )
059+
060+ )
061+ string(146) "DateTime::__construct(): Failed to parse time string (2010-05-15 00:00:00 PRC) at position 20 (P): The timezone could not be found in the database"
062+ Array
063+ (
064+ [warning_count] => 0
065+ [warnings] => Array
066+ (
067+ )
068+
069+ [error_count] => 1
070+ [errors] => Array
071+ (
072+ [20] => The timezone could not be found in the database
073+ )
074+
075+ )
076+ string(158) "DateTime::__construct(): Failed to parse time string (2010-05-15 00:00:00 Pacific/Chatham) at position 20 (P): The timezone could not be found in the database"
077+ Array
078+ (
079+ [warning_count] => 0
080+ [warnings] => Array
081+ (
082+ )
083+
084+ [error_count] => 1
085+ [errors] => Array
086+ (
087+ [20] => The timezone could not be found in the database
088+ )
089+
090+ )
091+ string(160) "DateTime::__construct(): Failed to parse time string (2010-05-15 00:00:00 Chile/Continental) at position 20 (C): The timezone could not be found in the database"
092+ Array
093+ (
094+ [warning_count] => 0
095+ [warnings] => Array
096+ (
097+ )
098+
099+ [error_count] => 1
100+ [errors] => Array
101+ (
102+ [20] => The timezone could not be found in the database
103+ )
104+
105+ )
106+ string(167) "DateTime::__construct(): Failed to parse time string (2010-05-15 00:00:00 Canada/East-Saskatchewan) at position 20 (C): The timezone could not be found in the database"
107+ Array
108+ (
109+ [warning_count] => 0
110+ [warnings] => Array
111+ (
112+ )
113+
114+ [error_count] => 1
115+ [errors] => Array
116+ (
117+ [20] => The timezone could not be found in the database
118+ )
119+
120+ )
121+ string(162) "DateTime::__construct(): Failed to parse time string (2010-05-15 00:00:00 Canada/Saskatchewan) at position 20 (C): The timezone could not be found in the database"
122+ Array
123+ (
124+ [warning_count] => 0
125+ [warnings] => Array
126+ (
127+ )
128+
129+ [error_count] => 1
130+ [errors] => Array
131+ (
132+ [20] => The timezone could not be found in the database
133+ )
134+
135+ )
136+ string(157) "DateTime::__construct(): Failed to parse time string (2010-05-15 00:00:00 Mexico/BajaSur) at position 20 (M): The timezone could not be found in the database"
137+ Array
138+ (
139+ [warning_count] => 0
140+ [warnings] => Array
141+ (
142+ )
143+
144+ [error_count] => 1
145+ [errors] => Array
146+ (
147+ [20] => The timezone could not be found in the database
148+ )
149+
150+ )
151+ string(161) "DateTime::__construct(): Failed to parse time string (2010-05-15 00:00:00 Chile/EasterIsland) at position 20 (C): The timezone could not be found in the database"
152+ Array
153+ (
154+ [warning_count] => 0
155+ [warnings] => Array
156+ (
157+ )
158+
159+ [error_count] => 1
160+ [errors] => Array
161+ (
162+ [20] => The timezone could not be found in the database
163+ )
164+
165+ )
166+ string(157) "DateTime::__construct(): Failed to parse time string (2010-05-15 00:00:00 Canada/Eastern) at position 20 (C): The timezone could not be found in the database"
167+ Array
168+ (
169+ [warning_count] => 0
170+ [warnings] => Array
171+ (
172+ )
173+
174+ [error_count] => 1
175+ [errors] => Array
176+ (
177+ [20] => The timezone could not be found in the database
178+ )
179+
180+ )
181+ string(158) "DateTime::__construct(): Failed to parse time string (2010-05-15 00:00:00 Canada/Mountain) at position 20 (C): The timezone could not be found in the database"
182+ Array
183+ (
184+ [warning_count] => 0
185+ [warnings] => Array
186+ (
187+ )
188+
189+ [error_count] => 1
190+ [errors] => Array
191+ (
192+ [20] => The timezone could not be found in the database
193+ )
194+
195+ )
196+ string(159) "DateTime::__construct(): Failed to parse time string (2010-05-15 00:00:00 Mexico/BajaNorte) at position 20 (M): The timezone could not be found in the database"
197+ Array
198+ (
199+ [warning_count] => 0
200+ [warnings] => Array
201+ (
202+ )
203+
204+ [error_count] => 1
205+ [errors] => Array
206+ (
207+ [20] => The timezone could not be found in the database
208+ )
209+
210+ )
211+ string(162) "DateTime::__construct(): Failed to parse time string (2010-05-15 00:00:00 Canada/Newfoundland) at position 20 (C): The timezone could not be found in the database"
212+ Array
213+ (
214+ [warning_count] => 0
215+ [warnings] => Array
216+ (
217+ )
218+
219+ [error_count] => 1
220+ [errors] => Array
221+ (
222+ [20] => The timezone could not be found in the database
223+ )
224+
225+ )
226+ string(159) "DateTime::__construct(): Failed to parse time string (2010-05-15 00:00:00 Pacific/Auckland) at position 20 (P): The timezone could not be found in the database"
227+ Array
228+ (
229+ [warning_count] => 0
230+ [warnings] => Array
231+ (
232+ )
233+
234+ [error_count] => 1
235+ [errors] => Array
236+ (
237+ [20] => The timezone could not be found in the database
238+ )
239+
240+ )
241+ string(157) "DateTime::__construct(): Failed to parse time string (2010-05-15 00:00:00 Canada/Pacific) at position 20 (C): The timezone could not be found in the database"
242+ Array
243+ (
244+ [warning_count] => 0
245+ [warnings] => Array
246+ (
247+ )
248+
249+ [error_count] => 1
250+ [errors] => Array
251+ (
252+ [20] => The timezone could not be found in the database
253+ )
254+
255+ )
256+ string(155) "DateTime::__construct(): Failed to parse time string (2010-05-15 00:00:00 Canada/Yukon) at position 20 (C): The timezone could not be found in the database"
257+ Array
258+ (
259+ [warning_count] => 0
260+ [warnings] => Array
261+ (
262+ )
263+
264+ [error_count] => 1
265+ [errors] => Array
266+ (
267+ [20] => The timezone could not be found in the database
268+ )
269+
270+ )
271+ string(155) "DateTime::__construct(): Failed to parse time string (2010-05-15 00:00:00 Pacific/Apia) at position 20 (P): The timezone could not be found in the database"
272+ Array
273+ (
274+ [warning_count] => 0
275+ [warnings] => Array
276+ (
277+ )
278+
279+ [error_count] => 1
280+ [errors] => Array
281+ (
282+ [20] => The timezone could not be found in the database
283+ )
284+
285+ )
286+ string(150) "DateTime::__construct(): Failed to parse time string (2010-05-15 00:00:00 Etc/UTC) at position 20 (E): The timezone could not be found in the database"
287+ Array
288+ (
289+ [warning_count] => 0
290+ [warnings] => Array
291+ (
292+ )
293+
294+ [error_count] => 1
295+ [errors] => Array
296+ (
297+ [20] => The timezone could not be found in the database
298+ )
299+
300+ )
301+ string(30) "this should be the only output"