Skip to content

Commit a2f7c9d

Browse files
committed
Merge branch 'PHP-8.2'
* PHP-8.2: Skip 64-bit specific date test on 32-bit
2 parents 481a7eb + 2cdf7b9 commit a2f7c9d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/date/tests/gh-124.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Test for timelib #124: Problem with large negative timestamps
33
--INI--
44
date.timezone=UTC
5+
--SKIPIF--
6+
<?php if (PHP_INT_SIZE != 8) echo "skip this test is for 64-bit only"; ?>
57
--FILE--
68
<?php
79
var_dump((new DateTime("@-9223372036854775808"))->getTimestamp());

0 commit comments

Comments
 (0)