--TEST-- Bug #60749: SNMP module should not strip non-standard SNMP port from hostname --CREDITS-- Boris Lytochkin --EXTENSIONS-- snmp --SKIPIF-- --FILE-- info; if (!str_ends_with($info["hostname"], ":$port")) { echo "'" . $info["hostname"] . "' != '$ip:$port'\n"; } var_dump($session->close()); ?> --EXPECT-- bool(true)