mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
- tests require 64bit integer
This commit is contained in:
parent
5aa1fb6074
commit
d4ef7ab7df
1 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,11 @@
|
|||
--TEST--
|
||||
Bug #52062: large timestamps with DateTime::getTimestamp and DateTime::setTimestamp
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (PHP_INT_SIZE == 4) die('skip tests require 64bit integer (php\' int, long in C.');
|
||||
?>
|
||||
--INI--
|
||||
date.timezone=UTC
|
||||
--FILE--
|
||||
<?php
|
||||
$d = new DateTime('@100000000000');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue