SNMP::setStringOutputFormatSet the output format of string values of the session Description
public bool SNMP::setStringOutputFormat(Snmp\StringOutput
$format)
Sets the format in which the string values returned by the requests of
this session are printed. The format only applies to string values whose
MIB object has no It does not change the format used by the other sessions, nor by functions such as snmp2_get; use snmp_set_string_output_format for those. Parameters
Return Values
Always returns ExamplesExample #1 Printing a binary string as text The above example will output something similar to:
STRING: ".........&{.j...."
See Also
|