PATH:
opt
/
alt
/
tests
/
alt-php82-pecl-gender_1.1.0-3.el8
/
tests
--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
[-] 003.phpt
[edit]
[-] 001.phpt
[edit]
[-] 006.phpt
[edit]
[-] 009.phpt.php-8.4-compatibility
[edit]
[-] 007.phpt
[edit]
[-] 010.phpt
[edit]
[-] 004.phpt
[edit]
[-] func.inc
[edit]
[-] 010.phpt.php-8.4-compatibility
[edit]
[+]
..
[-] 002.phpt
[edit]
[-] 009.phpt
[edit]
[-] 011.phpt.php-8.4-compatibility
[edit]
[-] 005.phpt
[edit]
[-] 008.phpt
[edit]
[-] 011.phpt
[edit]