cvs: php-src /ext/intl/tests ut_common.inc
| From: | Stanislav Malyshev | Date: | Mon, 08 Sep 2008 22:55:03 +0000 |
| Subject: | cvs: php-src /ext/intl/tests ut_common.inc | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-52998@lists.php.net to get a copy of this message | ||
stas Mon Sep 8 22:55:03 2008 UTC
Modified files:
/php-src/ext/intl/tests ut_common.inc
Log:
fix datefmt_parse function
http://cvs.php.net/viewvc.cgi/php-src/ext/intl/tests/ut_common.inc?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/intl/tests/ut_common.inc
diff -u php-src/ext/intl/tests/ut_common.inc:1.5 php-src/ext/intl/tests/ut_common.inc:1.6
--- php-src/ext/intl/tests/ut_common.inc:1.5 Wed Jul 23 20:21:23 2008
+++ php-src/ext/intl/tests/ut_common.inc Mon Sep 8 22:55:02 2008
@@ -448,7 +448,7 @@
{
return $GLOBALS['oo-mode'] ? $fmt->format( $value ) : datefmt_format( $fmt ,
$value);
}
-function ut_datefmt_parse( $fmt , $value ,$parse_pos=0 )
+function ut_datefmt_parse( $fmt , $value , &$parse_pos=0 )
{
return $GLOBALS['oo-mode'] ? $fmt->parse( $value ,$parse_pos ) : datefmt_parse(
$fmt , $value,$parse_pos );
}