1--TEST-- 2Bug #64159: Truncated snmpget 3--CREDITS-- 4Boris Lytochkin 5--EXTENSIONS-- 6snmp 7--SKIPIF-- 8<?php 9require_once(__DIR__.'/skipif.inc'); 10?> 11--ENV-- 12MIBS=noneXistent 13--FILE-- 14<?php 15require_once(__DIR__.'/snmp_include.inc'); 16 17snmp_set_quick_print(false); 18snmp_set_valueretrieval(SNMP_VALUE_LIBRARY); 19 20var_dump(("ab8283f948419b2d24d22f44a80b17d3" === md5(snmpget($hostname, $community, '.1.3.6.1.4.1.2021.8.1.101.1')))); 21 22?> 23--EXPECTF-- 24MIB search path: %s 25Cannot find module (noneXistent): At line %d in (%s) 26bool(true) 27