Bug->Req #80661 [Opn]: Add string output format function for SNMP

From: Date: Fri, 22 Jan 2021 21:59:38 +0000
Subject: Bug->Req #80661 [Opn]: Add string output format function for SNMP
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-231718@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80661&edit=1 ID: 80661 Updated by: girgias@php.net Reported by: thewitness at cacti dot net -Summary: php-snmp lacks a string output format function +Summary: Add string output format function for SNMP Status: Open -Type: Bug +Type: Feature/Change Request Package: SNMP related -Operating System: All +Operating System: -PHP Version: 8.0.1 +PHP Version: Next minor version Block user comment: N Private report: N New Comment: As this is a new feature this can only be added in PHP 8.1.0. Please provide a PR to the master branch of php-src on GitHub. It might also need an RFC depending on the scope. Previous Comments: ------------------------------------------------------------------------ [2021-01-22 18:28:02] thewitness at cacti dot net I've got the fix building on PHP-8 branch. It's to add a new function: snmp_string_output_format(blah); Do you want a patch, or a pull request? If so, from what branch? ------------------------------------------------------------------------ [2021-01-22 18:26:23] thewitness at cacti dot net Description: ------------ The various native snmp commands for some time have supported what is referred to as a string out put format of: GUESS ASCII HEX However, the current php-snmp implementation can not take advantage of those directives when performing a walk or a get of a variable. Test script: --------------- N/A ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=80661&edit=1

« previous php.bugs (#231718) next »