generate_random_second_name
generate_random_second_name($lang="EN",$sex_for_RU="man"); - get a random last Name (Second Name)
The function accepts parameters as input:
$lang – language of the surname ("en" - English, "ru" - Russian )$sex_for_RU – gender of the last name (only relevant for names in Russian)
After testing, the function returns the result of its work to the script :
Random Surname – random surname in the specified language and gender