/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
intl
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/ext/intl/tests/bug75378.phpt
--TEST-- Bug #75378 ([REGRESSION] IntlDateFormatter::parse() does not change $position argument) --SKIPIF-- <?php if (!extension_loaded('intl')) die('skip this test requires ext/intl'); ?> --FILE-- <?php $formatter = new IntlDateFormatter("en-GB", IntlDateFormatter::NONE, IntlDateFormatter::NONE, 'UTC', null, 'yyyy-MM-dd'); $position = 0; $parsedDate = $formatter->parse("2017-10-12", $position); var_dump($position); $localdate = $formatter->localtime("2017-10-12 00:00:00", $position1); var_dump($position1); ?> --EXPECT-- int(10) int(10)
Copyright ©2k19 -
Hexid
|
Tex7ure