@@ -9,7 +9,7 @@ class MyDateTime extends DateTime {};
9
9
class MyDateTimeImmutable extends DateTimeImmutable {};
10
10
11
11
define ('MAX_32BIT ' , 2147483647 );
12
- define ('MIN_32BIT ' , -2147483648 );
12
+ define ('MIN_32BIT ' , -2147483647 );
13
13
14
14
$ timestamps = array (
15
15
1696883232 ,
@@ -223,33 +223,33 @@ DateTimeImmutable::createFromTimestamp(2147483647): object(DateTimeImmutable)#%d
223
223
["timezone"]=>
224
224
string(6) "+00:00"
225
225
}
226
- DateTime::createFromTimestamp(-2147483648 ): object(DateTime)#%d (3) {
226
+ DateTime::createFromTimestamp(-2147483647 ): object(DateTime)#%d (3) {
227
227
["date"]=>
228
- string(26) "1901-12-13 20:45:52 .000000"
228
+ string(26) "1901-12-13 20:45:53 .000000"
229
229
["timezone_type"]=>
230
230
int(1)
231
231
["timezone"]=>
232
232
string(6) "+00:00"
233
233
}
234
- DateTimeImmutable::createFromTimestamp(-2147483648 ): object(DateTimeImmutable)#%d (3) {
234
+ DateTimeImmutable::createFromTimestamp(-2147483647 ): object(DateTimeImmutable)#%d (3) {
235
235
["date"]=>
236
- string(26) "1901-12-13 20:45:52 .000000"
236
+ string(26) "1901-12-13 20:45:53 .000000"
237
237
["timezone_type"]=>
238
238
int(1)
239
239
["timezone"]=>
240
240
string(6) "+00:00"
241
241
}
242
- DateTime::createFromTimestamp(-2147483648 .5): object(DateTime)#%d (3) {
242
+ DateTime::createFromTimestamp(-2147483647 .5): object(DateTime)#%d (3) {
243
243
["date"]=>
244
- string(26) "1901-12-13 20:45:51 .500000"
244
+ string(26) "1901-12-13 20:45:52 .500000"
245
245
["timezone_type"]=>
246
246
int(1)
247
247
["timezone"]=>
248
248
string(6) "+00:00"
249
249
}
250
- DateTimeImmutable::createFromTimestamp(-2147483648 .5): object(DateTimeImmutable)#%d (3) {
250
+ DateTimeImmutable::createFromTimestamp(-2147483647 .5): object(DateTimeImmutable)#%d (3) {
251
251
["date"]=>
252
- string(26) "1901-12-13 20:45:51 .500000"
252
+ string(26) "1901-12-13 20:45:52 .500000"
253
253
["timezone_type"]=>
254
254
int(1)
255
255
["timezone"]=>
0 commit comments