svn: /php/php-src/ branches/PHP_5_4/ext/date/tests/bug52062.phpt trunk/ext/date/tests/bug52062.phpt
| From: | Pierre Joye | Date: | Wed, 07 Dec 2011 10:38:35 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_4/ext/date/tests/bug52062.phpt trunk/ext/date/tests/bug52062.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-67225@lists.php.net to get a copy of this message | ||
pajoye Wed, 07 Dec 2011 10:38:35 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=320568
Log:
- tests require 64bit integer
Changed paths:
U php/php-src/branches/PHP_5_4/ext/date/tests/bug52062.phpt
U php/php-src/trunk/ext/date/tests/bug52062.phpt
Modified: php/php-src/branches/PHP_5_4/ext/date/tests/bug52062.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/date/tests/bug52062.phpt 2011-12-07 10:33:13 UTC (rev 320567)
+++ php/php-src/branches/PHP_5_4/ext/date/tests/bug52062.phpt 2011-12-07 10:38:35 UTC (rev 320568)
@@ -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');
Modified: php/php-src/trunk/ext/date/tests/bug52062.phpt
===================================================================
--- php/php-src/trunk/ext/date/tests/bug52062.phpt 2011-12-07 10:33:13 UTC (rev 320567)
+++ php/php-src/trunk/ext/date/tests/bug52062.phpt 2011-12-07 10:38:35 UTC (rev 320568)
@@ -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');