Annotation of embedaddon/php/ext/intl/tests/bug50590.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #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);
! 9: var_dump($fmt->parse("Wednesday, January 20, 2038 3:14:07 AM GMT"));
! 10:
! 11: ?>
! 12: --EXPECTF--
! 13: %s(2147570047)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>