PHP 8.4.1 Released!

Gender\Gender::get

(PECL gender >= 0.6.0)

Gender\Gender::getGet gender of a name

Beschreibung

public 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.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top