- PHP 手册
- 函数参考
- 国际化与字符编码支持
- Gender
- Gender\Gender
Gender\Gender::connect
(PECL gender >= 0.6.0)
Gender\Gender::connect — Connect to an external name dictionary
说明
public Gender\Gender::connect(string$dsn
): bool
Connect to an external name dictionary. Currently only streams are supported.
参数
-
dsn
-
DSN to open.
返回值
Boolean as success of failure.
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/gender-gender.connect.php