--- embedaddon/php/ext/snmp/tests/ipv6.phpt 2012/05/29 12:34:42 1.1.1.1 +++ embedaddon/php/ext/snmp/tests/ipv6.phpt 2013/07/22 01:32:01 1.1.1.2 @@ -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) \ No newline at end of file