Php/docs/gender-gender.similarnames

来自菜鸟教程
跳转至:导航、​搜索

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.