phpday 2027 - Call for Papers

Gender\Gender::get

(PECL gender >= 0.6.0)

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

Description

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

Get the gender of the name in a particular country.

Parameters

name

Name to check.

country

Country id identified by Gender class constant.

Return Values

Returns gender of the name.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top