Gender\Gender
PHP 手册

Gender\Gender::get

(PECL gender >= 0.6.0)

Gender\Gender::getGet gender of a name.

说明

public integer Gender\Gender::get ( string $name [, integer $country ] )

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.


Gender\Gender
PHP 手册