X7ROOT File Manager
Current Path:
/opt/alt/tests/alt-php85-pecl-gender_1.1.0-3.el8/tests
opt
/
alt
/
tests
/
alt-php85-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: 006.phpt
--TEST-- Check determine country --SKIPIF-- <?php if (!extension_loaded("gender")) print "skip"; ?> --FILE-- <?php namespace Gender; include dirname(__FILE__) . "/func.inc"; $ca = array( Gender::GERMANY, Gender::FINLAND, Gender::SERBIA, ); $g = new Gender; foreach($ca as $c) { var_dump($g->country($c)); } ?> DONE --EXPECT-- array(2) { ["country_short"]=> string(1) "D" ["country"]=> string(7) "Germany" } array(2) { ["country_short"]=> string(3) "FIN" ["country"]=> string(7) "Finland" } array(2) { ["country_short"]=> string(3) "SER" ["country"]=> string(6) "Serbia" } DONE
Upload File
Create Folder