Gender\Gender
PHP Manual

Gender\Gender::similarNames

(PECL gender >= 0.9.0)

Gender\Gender::similarNamesGet similar names

说明

public array Gender\Gender::similarNames ( string $name [, int $country ] )

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.


Gender\Gender
PHP Manual