xref: /PHP-8.1/ext/intl/tests/bug50590.phpt (revision 74859783)
1--TEST--
2Bug #50590 (IntlDateFormatter::parse result is limited to the integer range)
3--INI--
4date.timezone=Atlantic/Azores
5--EXTENSIONS--
6intl
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