(PHP 8 >= 8.6.0)
The Snmp\Mib enum lists the options that control how the Net-SNMP library parses MIB files. They are set with snmp_set_mib_option(), and allow reading MIB files that do not strictly follow the SMI syntax.
_) in
MIB object names and other symbols.
This is not valid SMI syntax, but some vendor
MIB files use it.
Corresponds to the -Pu command-line option and
the mibAllowUnderline configuration token of
Net-SNMP.
-- on the same line
ends a comment, which is the default behaviour, but this breaks some
MIB files.
Corresponds to the -Pc command-line option and
the commentToEOL configuration token of
Net-SNMP.
-PR command-line option and
the mibReplaceWithLatest configuration token of
Net-SNMP.