관리-도구
편집 파일: 011.phpt.php-8.4-compatibility
--TEST-- Test bug #64740 Gender ignores country for some names, variation 2 --SKIPIF-- <?php if (!extension_loadad('gender')) print 'skip'; ?> --FILE-- <?php $g = new Gender\Gender; var_dump($g->get("Jan", Gender\Gender::BRITAIN)); var_dump($g->get("Jan", Gender\Gender::USA)); var_dump($g->get("Jan", Gender\Gender::DENMARK)); var_dump($g->get("Jan", Gender\Gender::ISRAEL)); var_dump($g->get("Val", Gender\Gender::BRITAIN)); var_dump($g->get("Val", Gender\Gender::USA)); var_dump($g->get("Chris", Gender\Gender::SWEDEN)); var_dump($g->get("Chris", Gender\Gender::GERMANY)); var_dump($g->get("Brynn", Gender\Gender::BRITAIN)); var_dump($g->get("Brynn", Gender\Gender::USA)); var_dump($g->get("Carol", Gender\Gender::ISRAEL)); var_dump($g->get("Carol", Gender\Gender::FRANCE)); var_dump($g->get("Carol", Gender\Gender::ROMANIA)); var_dump($g->get("Carol", Gender\Gender::BRITAIN)); var_dump($g->get("Fran", Gender\Gender::BRITAIN)); var_dump($g->get("Fran", Gender\Gender::ALBANIA)); var_dump($g->get("Ronny", Gender\Gender::NETHERLANDS)); var_dump($g->get("Ronny", Gender\Gender::BRITAIN)); var_dump($g->get("Gene", Gender\Gender::BRITAIN)); var_dump($g->get("Gene", Gender\Gender::USA)); var_dump($g->get("Gene", Gender\Gender::LITHUANIA)); var_dump($g->get("Rene", Gender\Gender::BRITAIN)); var_dump($g->get("Rene", Gender\Gender::USA)); var_dump($g->get("Rene", Gender\Gender::SLOVAKIA)); var_dump($g->get("Rene", Gender\Gender::SWEDEN)); ?> +++DONE+++ --EXPECT-- int(70) int(102) int(77) int(109) int(102) int(63) int(77) int(109) int(109) int(63) int(70) int(102) int(77) int(109) int(70) int(77) int(77) int(109) int(77) int(109) int(70) int(77) int(63) int(77) int(63) +++DONE+++