<?php
// Comprehensive list of countries for foreign national registration
function getCountriesList() {
    return [
        'Afghanistan',
        'Albania',
        'Algeria',
        'Argentina',
        'Armenia',
        'Australia',
        'Austria',
        'Azerbaijan',
        'Bahrain',
        'Bangladesh',
        'Belarus',
        'Belgium',
        'Bolivia',
        'Bosnia and Herzegovina',
        'Botswana',
        'Brazil',
        'Bulgaria',
        'Cambodia',
        'Cameroon',
        'Canada',
        'Chile',
        'China',
        'Colombia',
        'Congo (Democratic Republic)',
        'Congo (Republic)',
        'Costa Rica',
        'Croatia',
        'Cuba',
        'Cyprus',
        'Czech Republic',
        'Denmark',
        'Dominican Republic',
        'Ecuador',
        'Egypt',
        'El Salvador',
        'Estonia',
        'Ethiopia',
        'Finland',
        'France',
        'Georgia',
        'Germany',
        'Ghana',
        'Greece',
        'Guatemala',
        'Haiti',
        'Honduras',
        'Hungary',
        'Iceland',
        'India',
        'Indonesia',
        'Iran',
        'Iraq',
        'Ireland',
        'Israel',
        'Italy',
        'Jamaica',
        'Japan',
        'Jordan',
        'Kazakhstan',
        'Kenya',
        'Kuwait',
        'Latvia',
        'Lebanon',
        'Lesotho',
        'Liberia',
        'Libya',
        'Lithuania',
        'Luxembourg',
        'Madagascar',
        'Malawi',
        'Malaysia',
        'Mali',
        'Malta',
        'Mauritius',
        'Mexico',
        'Moldova',
        'Morocco',
        'Mozambique',
        'Myanmar',
        'Namibia',
        'Nepal',
        'Netherlands',
        'New Zealand',
        'Nicaragua',
        'Nigeria',
        'North Korea',
        'Norway',
        'Pakistan',
        'Palestine',
        'Panama',
        'Paraguay',
        'Peru',
        'Philippines',
        'Poland',
        'Portugal',
        'Qatar',
        'Romania',
        'Russia',
        'Rwanda',
        'Saudi Arabia',
        'Senegal',
        'Serbia',
        'Singapore',
        'Slovakia',
        'Slovenia',
        'Somalia',
        'South Korea',
        'Spain',
        'Sri Lanka',
        'Sudan',
        'Swaziland',
        'Sweden',
        'Switzerland',
        'Syria',
        'Taiwan',
        'Tanzania',
        'Thailand',
        'Tunisia',
        'Turkey',
        'Uganda',
        'Ukraine',
        'United Arab Emirates',
        'United Kingdom',
        'United States',
        'Uruguay',
        'Venezuela',
        'Vietnam',
        'Yemen',
        'Zambia',
        'Zimbabwe'
    ];
}

// Get popular/common countries for foreign nationals in South Africa
function getPopularCountries() {
    return [
        'Angola',
        'Botswana',
        'China',
        'Democratic Republic of Congo',
        'Germany',
        'India',
        'Kenya',
        'Lesotho',
        'Malawi',
        'Mozambique',
        'Namibia',
        'Nigeria',
        'Pakistan',
        'Philippines',
        'Somalia',
        'Swaziland',
        'Tanzania',
        'Uganda',
        'United Kingdom',
        'United States',
        'Zambia',
        'Zimbabwe'
    ];
}
?>