<?php
var_export(snmp3_real_walk('localhost', 'james', 'authPriv', 'SHA', 'secret007', 'AES', 'secret007', 'IF-MIB::ifName'));
?>
The above will output something like:
array (
'IF-MIB::ifName.1' => 'STRING: lo',
'IF-MIB::ifName.2' => 'STRING: eth0',
'IF-MIB::ifName.3' => 'STRING: eth2',
'IF-MIB::ifName.4' => 'STRING: sit0',
'IF-MIB::ifName.5' => 'STRING: sixxs',
)