It looks like you can use a non-standard port for SNMP
with something like this:
$foo = snmpwalk('foo.bar.com:1161', 'foofoo', '.1.3.6');
This is on PHP 3.16; I haven't managed to get PHP 4.02 to compile successfully on Solaris 2.6 yet.
--Michael