PATH:
opt
/
alt
/
tests
/
alt-php85-pecl-gender_1.1.0-3.el8
/
tests
--TEST-- Check nickname --SKIPIF-- <?php if (!extension_loaded("gender")) print "skip"; ?> --FILE-- <?php namespace Gender; include dirname(__FILE__) . "/func.inc"; $list = array( array("Max", "Maximilian"), array("Alexander", "Alex"), array("Ziska", "Franziska"), array("Yevgeni", "Zhenya"), array("Jacob", "Max"), ); $g = new Gender; foreach($list as $names) { var_dump($g->isNick($names[0], $names[1])); } ?> DONE --EXPECT-- bool(true) bool(true) bool(true) bool(true) bool(false) 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]