bug50590.phpt 349 B

123456789101112131415
  1. --TEST--
  2. Bug #50590 (IntlDateFormatter::parse result is limited to the integer range)
  3. --INI--
  4. date.timezone=Atlantic/Azores
  5. --EXTENSIONS--
  6. intl
  7. --FILE--
  8. <?php
  9. $fmt = new IntlDateFormatter("en_US", IntlDateFormatter::FULL, IntlDateFormatter::FULL);
  10. var_dump($fmt->parse("Wednesday, January 20, 2038 3:14:07 AM GMT"));
  11. ?>
  12. --EXPECTF--
  13. %s(2147570047)