mirror of
https://github.com/php/php-src.git
synced 2026-03-31 12:42:29 +02:00
Skip 64-bit specific date test on 32-bit
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
Test for timelib #124: Problem with large negative timestamps
|
||||
--INI--
|
||||
date.timezone=UTC
|
||||
--SKIPIF--
|
||||
<?php if (PHP_INT_SIZE != 8) echo "skip this test is for 64-bit only"; ?>
|
||||
--FILE--
|
||||
<?php
|
||||
var_dump((new DateTime("@-9223372036854775808"))->getTimestamp());
|
||||
|
||||
Reference in New Issue
Block a user