Re: [PHP-CVS] svn: /php/php-src/branches/PHP_5_3/ext/date/tests/ bug48058.phpt

2009-08-03 Thread Derick Rethans
On Sun, 2 Aug 2009, Rasmus Lerdorf wrote:

 rasmus   Sun, 02 Aug 2009 22:37:07 +
 
 Revision: http://svn.php.net/viewvc?view=revisionrevision=286707
 
 Log:
 Fix test on 32-bit

I'd rather see we had a test for both platforms instead of making this 
one vague...

regards,
Derick


 
 Changed paths:
 U   php/php-src/branches/PHP_5_3/ext/date/tests/bug48058.phpt
 
 Modified: php/php-src/branches/PHP_5_3/ext/date/tests/bug48058.phpt
 ===
 --- php/php-src/branches/PHP_5_3/ext/date/tests/bug48058.phpt 2009-08-02 
 22:31:19 UTC (rev 286706)
 +++ php/php-src/branches/PHP_5_3/ext/date/tests/bug48058.phpt 2009-08-02 
 22:37:07 UTC (rev 286707)
 @@ -13,12 +13,12 @@
  $dt = date_create( $base_time +100 years );
  echo date_format( $dt, DATE_ISO8601 );
  ?
 ---EXPECT--
 +--EXPECTF--
  array(5) {
[ts]=
 -  int(-9223372036854775808)
 +  int(-%d)
[time]=
 -  string(33) -292277022657-01-27T08:29:52+
 +  string(%d) %s
[offset]=
int(3600)
[isdst]=
 
 

-- 
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org
twitter: @derickr

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] svn: /php/php-src/branches/PHP_5_3/ext/date/tests/ bug48058.phpt

2009-08-02 Thread Rasmus Lerdorf
rasmus   Sun, 02 Aug 2009 22:37:07 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=286707

Log:
Fix test on 32-bit

Changed paths:
U   php/php-src/branches/PHP_5_3/ext/date/tests/bug48058.phpt

Modified: php/php-src/branches/PHP_5_3/ext/date/tests/bug48058.phpt
===
--- php/php-src/branches/PHP_5_3/ext/date/tests/bug48058.phpt   2009-08-02 
22:31:19 UTC (rev 286706)
+++ php/php-src/branches/PHP_5_3/ext/date/tests/bug48058.phpt   2009-08-02 
22:37:07 UTC (rev 286707)
@@ -13,12 +13,12 @@
 $dt = date_create( $base_time +100 years );
 echo date_format( $dt, DATE_ISO8601 );
 ?
---EXPECT--
+--EXPECTF--
 array(5) {
   [ts]=
-  int(-9223372036854775808)
+  int(-%d)
   [time]=
-  string(33) -292277022657-01-27T08:29:52+
+  string(%d) %s
   [offset]=
   int(3600)
   [isdst]=

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php