PHP 8.4.0 RC4 available for testing

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.

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top