mirror of
https://github.com/php/php-src.git
synced 2026-04-29 19:23:22 +02:00
Merge branch 'PHP-5.5'
* PHP-5.5: merge with 5.4 more test coverage: missing square bracket error message Fixed bug #61981
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user