mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
more test coverage: missing square bracket error message
This commit is contained in:
parent
44197774c0
commit
85d9d85ce2
@ -20,6 +20,10 @@ snmp_set_quick_print(false);
|
||||
snmp_set_valueretrieval(SNMP_VALUE_PLAIN);
|
||||
|
||||
var_dump(snmpget($hostname6_port, $community, '.1.3.6.1.2.1.1.1.0'));
|
||||
var_dump(snmpget('[dead:beef::', $community, '.1.3.6.1.2.1.1.1.0'));
|
||||
?>
|
||||
--EXPECTF--
|
||||
%unicode|string%(%d) "%s"
|
||||
|
||||
Warning: snmpget(): malformed IPv6 address, closing square bracket missing in %s on line %d
|
||||
bool(false)
|
Loading…
Reference in New Issue
Block a user