summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-12-07 10:38:35 +0000
committerPierre Joye <pajoye@php.net>2011-12-07 10:38:35 +0000
commitd4ef7ab7df123d77d4678bf41cf605d12f217756 (patch)
tree5507dd0acaac4bb50dcb09286cad097f79d3b4e4
parent5aa1fb6074efec67f7b27e720cc5853d3e505433 (diff)
downloadphp-git-d4ef7ab7df123d77d4678bf41cf605d12f217756.tar.gz
- tests require 64bit integer
-rw-r--r--ext/date/tests/bug52062.phpt6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/date/tests/bug52062.phpt b/ext/date/tests/bug52062.phpt
index ae8fbc381d..967a1b6f63 100644
--- a/ext/date/tests/bug52062.phpt
+++ b/ext/date/tests/bug52062.phpt
@@ -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');