TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PHP Gender Constants

3 pointsby extesyalmost 3 years ago

1 comment

lioetersalmost 3 years ago
&gt; Gender PHP extension is a port of the gender.c program originally written by Joerg Michael. The main purpose is to find out the gender of firstnames. The current database contains &gt;40000 firstnames from 54 countries.<p><pre><code> class Gender\Gender { const int IS_FEMALE = 70; const int IS_MOSTLY_FEMALE = 102; const int IS_MALE = 77; const int IS_MOSTLY_MALE = 109; ... const int ANY_COUNTRY = 0; const int BRITAIN = 1; const int IRELAND = 2; const int USA = 3; ... }</code></pre>