--TEST-- Test timezone_name_from_abbr() function : basic functionality --FILE-- --EXPECT-- *** 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(15) "America/Halifax" -- 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)