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