3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $international_terms = array( 'Latin America', 'Argentina', 'Bolivia', 'Brazil', 'Chile', 'Colombia', 'Costa Rica', 'Ecuador', 'El Salvador', 'Guatemala', 'Guyana', 'Honduras', 'Mexico', 'Nicaragua', 'Panama', 'Paraguay', 'Peru', 'Suriname', 'Uruguay', 'Venezuela', 'Buenos Aires', 'Cordoba', 'Santa Fe', 'Europe', 'Middle East', 'Africa', 'Asia/Pacific', 'Albania', 'Azerbaijan', 'Alderney', 'Armenia', 'Austria', 'Belarus', 'Belgium', 'Bulgaria', 'Croatia', 'Cyprus', 'Czech Republic', 'Denmark', 'Estonia', 'Finland', 'France', 'Germany', 'Gibraltar', 'Greece', 'Holland', 'Hungary', 'Ireland', 'Isle of Man', 'Italy', 'Jersey', 'Latvia', 'Liechtenstein', 'Lithuania', 'Luxembourg', 'Macedonia', 'Malta', 'Monaco', 'Montenegro', 'Norway', 'Poland', 'Portugal', 'Romania', 'Russia', 'Serbia', 'Slovakia', 'Slovenia', 'Spain', 'Sweden', 'Switzerland', 'Turkey', 'Ukraine', 'United Kingdom', 'Åland Islands', 'Baden-Wurttemberg', 'Bavaria', 'Berlin', 'Brandenburg', 'Bremen', 'Hamburg', 'Mecklenburg-Vorpommern', 'Rhineland- Palatinate', 'Saarland', 'Saxony - Anhalt', 'Thuringia', 'Saxony', 'Hesse', 'Lower Saxony', 'Schleswig-Holstein', 'Westphalia', 'Andalusia', 'Aragon', 'Basque Region', 'Cantabria', 'Catalonia', 'Madrid', 'Navarre', 'Valencia', 'Northern Ireland', 'Israel', 'Angola', 'Benin', 'Botswana', 'Egypt', 'Ghana', 'Kenya', 'Madagascar', 'Malawi', 'Mauritius', 'Morocco', 'Mozambique', 'Nigeria', 'Rwanda', 'Senegal', 'South Africa', 'Tanzania', 'Tunisia', 'Uganda', 'Zambia', 'Australia', 'Cambodia', 'China', 'India', 'Indonesia', 'Japan', 'Kazakhstan', 'Kyrgyzstan', 'Malaysia', 'Mongolia', 'Myanmar', 'Nepal', 'New Zealand', 'Norfolk Island', 'North Korea', 'Northern Marianas', 'Papua New Guinea', 'Philippines', 'Singapore', 'Solomon Islands', 'South Korea', 'Sri Lanka', 'Taiwan', 'Tajikistan', 'Thailand', 'Turkmenistan', 'Uzbekistan', 'Vanuatu', 'Vietnam', 'ACT', 'New South Wales', 'Northern Territory', 'Queensland', 'South Australia', 'Tasmania', 'Victoria', 'Western Australia', 'Hong Kong', 'Macau', ); $output = implode(', ', $international_terms); print_r($output);
Output for 4.3.0 - 7.1.0
Latin America, Argentina, Bolivia, Brazil, Chile, Colombia, Costa Rica, Ecuador, El Salvador, Guatemala, Guyana, Honduras, Mexico, Nicaragua, Panama, Paraguay, Peru, Suriname, Uruguay, Venezuela, Buenos Aires, Cordoba, Santa Fe, Europe, Middle East, Africa, Asia/Pacific, Albania, Azerbaijan, Alderney, Armenia, Austria, Belarus, Belgium, Bulgaria, Croatia, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germany, Gibraltar, Greece, Holland, Hungary, Ireland, Isle of Man, Italy, Jersey, Latvia, Liechtenstein, Lithuania, Luxembourg, Macedonia, Malta, Monaco, Montenegro, Norway, Poland, Portugal, Romania, Russia, Serbia, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey, Ukraine, United Kingdom, Åland Islands, Baden-Wurttemberg, Bavaria, Berlin, Brandenburg, Bremen, Hamburg, Mecklenburg-Vorpommern, Rhineland- Palatinate, Saarland, Saxony - Anhalt, Thuringia, Saxony, Hesse, Lower Saxony, Schleswig-Holstein, Westphalia, Andalusia, Aragon, Basque Region, Cantabria, Catalonia, Madrid, Navarre, Valencia, Northern Ireland, Israel, Angola, Benin, Botswana, Egypt, Ghana, Kenya, Madagascar, Malawi, Mauritius, Morocco, Mozambique, Nigeria, Rwanda, Senegal, South Africa, Tanzania, Tunisia, Uganda, Zambia, Australia, Cambodia, China, India, Indonesia, Japan, Kazakhstan, Kyrgyzstan, Malaysia, Mongolia, Myanmar, Nepal, New Zealand, Norfolk Island, North Korea, Northern Marianas, Papua New Guinea, Philippines, Singapore, Solomon Islands, South Korea, Sri Lanka, Taiwan, Tajikistan, Thailand, Turkmenistan, Uzbekistan, Vanuatu, Vietnam, ACT, New South Wales, Northern Territory, Queensland, South Australia, Tasmania, Victoria, Western Australia, Hong Kong, Macau