xref: /PHP-5.3/ext/intl/tests/bug50590.phpt (revision 8d34fe0d)
1--TEST--
2Bug #50590 (IntlDateFormatter::parse result is limited to the integer range)
3--SKIPIF--
4<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
5--FILE--
6<?php
7
8$fmt = new IntlDateFormatter("en_US", IntlDateFormatter::FULL, IntlDateFormatter::FULL);
9var_dump($fmt->parse("Wednesday, January 20, 2038 3:14:07 AM GMT"));
10
11?>
12--EXPECTF--
13%s(2147570047)
14