Skip to content

Commit 2cdf7b9

Browse files
committed
Skip 64-bit specific date test on 32-bit
1 parent 52850a4 commit 2cdf7b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/date/tests/gh-124.phpt

+2
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)