X7ROOT File Manager
Current Path:
/opt/alt/tests/alt-php81-pecl-gender_1.1.0-3.el8/tests
opt
/
alt
/
tests
/
alt-php81-pecl-gender_1.1.0-3.el8
/
tests
/
??
..
??
001.phpt
(541 B)
??
002.phpt
(300 B)
??
003.phpt
(303 B)
??
004.phpt
(796 B)
??
005.phpt
(298 B)
??
006.phpt
(612 B)
??
007.phpt
(1 KB)
??
008.phpt
(500 B)
??
009.phpt
(379 B)
??
009.phpt.php-8.4-compatibility
(379 B)
??
010.phpt
(508 B)
??
010.phpt.php-8.4-compatibility
(508 B)
??
011.phpt
(1.66 KB)
??
011.phpt.php-8.4-compatibility
(1.66 KB)
??
func.inc
(1000 B)
Editing: 004.phpt
--TEST-- Check multiple gender objects --SKIPIF-- <?php if (!extension_loaded("gender")) print "skip"; ?> --FILE-- <?php namespace Gender; include dirname(__FILE__) . "/func.inc"; $name = array( array('Max', 'Jacky', 'Maria'), array('Maria', 'Sam', 'Nam'), array('Mary', 'Albert', 'Leo'), ); foreach ($name as $n) { $g0 = new Gender; eval_result($g0->get($n[0]), $n[0]); $g1 = new Gender; eval_result($g1->get($n[1]), $n[1]); $g2 = new Gender; eval_result($g2->get($n[2]), $n[2]); } ?> DONE --EXPECT-- The name Max is mostly male in 0 The name Jacky is mostly male in 0 The name Maria is female in 0 The name Maria is female in 0 The name Sam is unisex in 0 The name Nam is unisex in 0 The name Mary is female in 0 The name Albert is male in 0 The name Leo is mostly male in 0 DONE
Upload File
Create Folder