Gender\Gender::get
PHP Manual
PHP Manual»Gender\Gender»Gender\Gender::get

Gender\Gender::get

(PECL gender >= 0.6.0)

Gender\Gender::get — Get gender of a name

Beschreibung

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

Get the gender of the name in a particular country.

Parameter-Liste

name

Name to check.

country

Country id identified by Gender class constant.

Rückgabewerte

Returns gender of the name.

To Top