--TEST-- Check determine country --SKIPIF-- --FILE-- country($c)); } ?> DONE --EXPECT-- array(2) { ["country_short"]=> string(1) "D" ["country"]=> string(7) "Germany" } array(2) { ["country_short"]=> string(3) "FIN" ["country"]=> string(7) "Finland" } array(2) { ["country_short"]=> string(3) "SER" ["country"]=> string(6) "Serbia" } DONE