3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo Locale::getDisplayRegion('-CZ', 'en-US') . "\n"; echo Locale::getDisplayRegion('-CZ', 'de-DE') . "\n"; echo Locale::getDisplayRegion('-AT', 'en-US') . "\n"; echo Locale::getDisplayRegion('-AT', 'de-DE') . "\n"; echo Locale::getDisplayRegion('-EG', 'fr-FR') . "\n"; echo Locale::getDisplayRegion('-EG', 'fr-CH') . "\n";
based on 0jnds
Output for 7.3.0 - 7.3.27, 7.4.0 - 7.4.16, 8.0.0 - 8.0.3
Czech Republic Tschechische Republik Austria Österreich Égypte Égypte