php-src/ext/intl/tests/bug50590.phpt
2010-10-06 17:05:05 +00:00

14 lines
359 B
PHP

--TEST--
Bug #50590 (IntlDateFormatter::parse result is limited to the integer range)
--SKIPIF--
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
--FILE--
<?php
$fmt = new IntlDateFormatter("en_US", IntlDateFormatter::FULL, IntlDateFormatter::FULL);
var_dump($fmt->parse("Wednesday, January 20, 2038 3:14:07 AM GMT"));
?>
--EXPECTF--
%s(2147570047)