1
0
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:
Ilija Tovilo
2022-09-14 23:03:34 +02:00
parent 52850a4c0f
commit 2cdf7b91e5

View File

@@ -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());