略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Gender\Gender::get

2024-12-21

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.

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/gender-gender.get.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3