Gender\Gender::similarNames

(PECL gender >= 0.9.0)

Gender\Gender::similarNamesGet similar names

说明

public Gender\Gender::similarNames(string $name, int $country = ?): array

Get similar names for the given name and country.

参数

name

Name to check.

country

Country id identified by Gender class constant. If ommited ANY_COUNTRY is used.

返回值

Returns an array with the similar names found.