bug44780.phpt 282 B

12345678910
  1. --TEST--
  2. Bug #44780 (some time zone offsets not recognized by timezone_name_from_abbr)
  3. --FILE--
  4. <?php
  5. var_dump( timezone_name_from_abbr("", 5.5*3600, false) );
  6. var_dump( timezone_name_from_abbr("", 28800, false) );
  7. ?>
  8. --EXPECT--
  9. string(12) "Asia/Kolkata"
  10. string(13) "Asia/Shanghai"