PHP 8.4.2 Released!

Gender\Gender::get

(PECL gender >= 0.6.0)

Gender\Gender::getGet gender of a name

说明

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

Get the gender of the name in a particular country.

参数

name

Name to check.

country

Country id identified by Gender class constant.

返回值

Returns gender of the name.

添加备注

用户贡献的备注

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