--TEST-- Test timezone_name_from_abbr() function : basic functionality --FILE-- ===DONE=== --EXPECTF-- *** Testing timezone_name_from_abbr() : basic functionality *** -- Tests with special cases first - no lookup needed -- string(3) "UTC" string(3) "UTC" -- Lookup with just name -- string(13) "Europe/Berlin" string(16) "America/New_York" -- Lookup with name and offset-- string(15) "America/Halifax" string(12) "Asia/Baghdad" string(11) "Asia/Aqtobe" string(11) "Asia/Aqtobe" string(11) "Asia/Aqtobe" string(17) "America/Boa_Vista" string(12) "Asia/Yerevan" -- Tests without valid name - uses gmtOffset and isdst to find match -- string(13) "Europe/London" string(17) "America/Sao_Paulo" string(16) "America/New_York" string(15) "America/Halifax" -- Tests with invalid offsets -- bool(false) bool(false) ===DONE===