PATH:
opt
/
alt
/
tests
/
alt-php55-pecl-geoip_1.1.1-1.el8
/
tests
--TEST-- Checking geoip_region_name_by_code with (some) empty fields --SKIPIF-- <?php if (!extension_loaded("geoip")) print "skip"; ?> --POST-- --GET-- --FILE-- <?php var_dump(geoip_region_name_by_code('CA','')); var_dump(geoip_region_name_by_code('CA',NULL)); var_dump(geoip_region_name_by_code('CA',1)); var_dump(geoip_region_name_by_code('','QC')); var_dump(geoip_region_name_by_code(NULL,'QC')); var_dump(geoip_region_name_by_code(1,'QC')); ?> --EXPECTF-- Warning: geoip_region_name_by_code(): You need to specify the country and region codes. in %s on line %d bool(false) Warning: geoip_region_name_by_code(): You need to specify the country and region codes. in %s on line %d bool(false) bool(false) Warning: geoip_region_name_by_code(): You need to specify the country and region codes. in %s on line %d bool(false) Warning: geoip_region_name_by_code(): You need to specify the country and region codes. in %s on line %d bool(false) bool(false)
[-] 009.phpt
[edit]
[-] 014.phpt
[edit]
[-] 016.phpt
[edit]
[-] 005.phpt
[edit]
[-] 013.phpt
[edit]
[-] 003.phpt
[edit]
[-] 018.phpt
[edit]
[-] 007.phpt
[edit]
[-] 008.phpt
[edit]
[-] 001.phpt
[edit]
[-] 015.phpt
[edit]
[-] 002.phpt
[edit]
[-] 017.phpt
[edit]
[-] 006.phpt
[edit]
[-] 004.phpt
[edit]
[+]
..
[-] 010.phpt
[edit]
[-] 011.phpt
[edit]