derick Mon Apr 7 17:41:48 2008 UTC Modified files: /php-src/ext/date/tests 013.phpt 014.phpt bug41523-64bit.phpt Log: - Fixed testcases. http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/013.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/date/tests/013.phpt diff -u php-src/ext/date/tests/013.phpt:1.1 php-src/ext/date/tests/013.phpt:1.2 --- php-src/ext/date/tests/013.phpt:1.1 Fri Dec 22 13:07:26 2006 +++ php-src/ext/date/tests/013.phpt Mon Apr 7 17:41:48 2008 @@ -20,7 +20,13 @@ echo "Done\n"; ?> --EXPECTF-- -object(DateTime)#%d (0) { +object(DateTime)#%d (3) { + ["date"]=> + string(19) "2006-12-12 00:00:00" + ["timezone_type"]=> + int(3) + ["timezone"]=> + string(3) "UTC" } string(19) "2006.12.12 00:00:00" @@ -37,7 +43,13 @@ string(19) "2008.01.29 00:00:00" Done --UEXPECTF-- -object(DateTime)#%d (0) { +object(DateTime)#%d (3) { + [u"date"]=> + unicode(19) "2006-12-12 00:00:00" + [u"timezone_type"]=> + int(3) + [u"timezone"]=> + string(3) "UTC" } unicode(19) "2006.12.12 00:00:00" http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/014.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/date/tests/014.phpt diff -u php-src/ext/date/tests/014.phpt:1.1 php-src/ext/date/tests/014.phpt:1.2 --- php-src/ext/date/tests/014.phpt:1.1 Fri Dec 22 13:07:26 2006 +++ php-src/ext/date/tests/014.phpt Mon Apr 7 17:41:48 2008 @@ -19,7 +19,32 @@ ?> --EXPECTF-- -object(DateTime)#%d (0) { +object(DateTime)#%d (3) { + ["date"]=> + string(19) "2006-12-12 00:00:00" + ["timezone_type"]=> + int(3) + ["timezone"]=> + string(3) "UTC" +} +object(DateTimeZone)#%d (0) { +} + +Warning: timezone_offset_get() expects exactly 2 parameters, 0 given in %s on line %d +bool(false) +int(0) + +Warning: timezone_offset_get() expects parameter 1 to be DateTimeZone, object given in %s on line %d +bool(false) +Done +--UEXPECTF-- +object(DateTime)#%d (3) { + [u"date"]=> + unicode(19) "2006-12-12 00:00:00" + [u"timezone_type"]=> + int(3) + [u"timezone"]=> + string(3) "UTC" } object(DateTimeZone)#%d (0) { } http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/bug41523-64bit.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/date/tests/bug41523-64bit.phpt diff -u php-src/ext/date/tests/bug41523-64bit.phpt:1.1 php-src/ext/date/tests/bug41523-64bit.phpt:1.2 --- php-src/ext/date/tests/bug41523-64bit.phpt:1.1 Mon Feb 25 22:32:26 2008 +++ php-src/ext/date/tests/bug41523-64bit.phpt Mon Apr 7 17:41:48 2008 @@ -42,7 +42,13 @@ bool(false) } int(-62169984000) -object(DateTime)#1 (0) { +object(DateTime)#1 (3) { + ["date"]=> + string(20) "-0001-11-30 00:00:00" + ["timezone_type"]=> + int(3) + ["timezone"]=> + string(3) "UTC" } -0001-11-30T00:00:00+0000 --UEXPECT-- @@ -75,6 +81,12 @@ bool(false) } int(-62169984000) -object(DateTime)#1 (0) { +object(DateTime)#1 (3) { + [u"date"]=> + unicode(20) "-0001-11-30 00:00:00" + [u"timezone_type"]=> + int(3) + [u"timezone"]=> + string(3) "UTC" } -0001-11-30T00:00:00+0000
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php