derick Wed Jul 16 07:36:04 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/date/tests bug41523-64bit.phpt bug41709.phpt
date_parse_001.phpt
Log:
- MFH: Fixed tests.
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/bug41523-64bit.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/date/tests/bug41523-64bit.phpt
diff -u php-src/ext/date/tests/bug41523-64bit.phpt:1.1.2.3
php-src/ext/date/tests/bug41523-64bit.phpt:1.1.2.4
--- php-src/ext/date/tests/bug41523-64bit.phpt:1.1.2.3 Mon Apr 7 17:41:58 2008
+++ php-src/ext/date/tests/bug41523-64bit.phpt Wed Jul 16 07:36:04 2008
@@ -29,9 +29,11 @@
["fraction"]=>
float(0)
["warning_count"]=>
- int(0)
+ int(1)
["warnings"]=>
- array(0) {
+ array(1) {
+ [20]=>
+ string(27) "The parsed date was invalid"
}
["error_count"]=>
int(0)
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/bug41709.phpt?r1=1.1.2.2&r2=1.1.2.2.2.1&diff_format=u
Index: php-src/ext/date/tests/bug41709.phpt
diff -u php-src/ext/date/tests/bug41709.phpt:1.1.2.2
php-src/ext/date/tests/bug41709.phpt:1.1.2.2.2.1
--- php-src/ext/date/tests/bug41709.phpt:1.1.2.2 Thu Jul 12 18:58:00 2007
+++ php-src/ext/date/tests/bug41709.phpt Wed Jul 16 07:36:04 2008
@@ -18,9 +18,10 @@
[minute] => 0
[second] => 0
[fraction] => 0
- [warning_count] => 0
+ [warning_count] => 1
[warnings] => Array
(
+ [22] => The parsed date was invalid
)
[error_count] => 1
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/date_parse_001.phpt?r1=1.1.2.2&r2=1.1.2.2.2.1&diff_format=u
Index: php-src/ext/date/tests/date_parse_001.phpt
diff -u php-src/ext/date/tests/date_parse_001.phpt:1.1.2.2
php-src/ext/date/tests/date_parse_001.phpt:1.1.2.2.2.1
--- php-src/ext/date/tests/date_parse_001.phpt:1.1.2.2 Fri Dec 22 13:07:53 2006
+++ php-src/ext/date/tests/date_parse_001.phpt Wed Jul 16 07:36:04 2008
@@ -89,9 +89,11 @@
["fraction"]=>
bool(false)
["warning_count"]=>
- int(0)
+ int(1)
["warnings"]=>
- array(0) {
+ array(1) {
+ [12]=>
+ string(27) "The parsed date was invalid"
}
["error_count"]=>
int(1)
@@ -125,9 +127,11 @@
["fraction"]=>
bool(false)
["warning_count"]=>
- int(0)
+ int(1)
["warnings"]=>
- array(0) {
+ array(1) {
+ [11]=>
+ string(27) "The parsed date was invalid"
}
["error_count"]=>
int(0)
@@ -181,9 +185,11 @@
["fraction"]=>
bool(false)
["warning_count"]=>
- int(0)
+ int(1)
["warnings"]=>
- array(0) {
+ array(1) {
+ [8]=>
+ string(27) "The parsed date was invalid"
}
["error_count"]=>
int(0)
@@ -298,6 +304,6 @@
bool(false)
}
-Warning: date_parse() expects parameter 1 to be string, array given in %s on
line %d
+Warning: date_parse() expects parameter 1 to be string, array given in
/home/derick/dev/php/php-5.3dev/ext/date/tests/date_parse_001.php on line 11
bool(false)
Done
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php