]> granicus.if.org Git - php/commitdiff
- tests require 64bit integer
authorPierre Joye <pajoye@php.net>
Wed, 7 Dec 2011 10:38:35 +0000 (10:38 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 7 Dec 2011 10:38:35 +0000 (10:38 +0000)
ext/date/tests/bug52062.phpt

index ae8fbc381de8b2154f2eef67e3968e105ce88fbe..967a1b6f6395c95735e66fb1ec326565c99efb58 100644 (file)
@@ -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');