摘要: function startsWith($haystack, $needle) { // search backwards starting from haystack length characters from the end return $needle === "" || str... 阅读全文
posted @ 2015-12-26 16:26 Waichung 阅读(1244) 评论(0) 推荐(0) 编辑
摘要: function convert_snmp_timeticks($timeticks) { if(!is_numeric($timeticks)) { return FALSE; } //如果是字符串类型,则先进行转换 if(is_string($tim... 阅读全文
posted @ 2015-12-26 11:02 Waichung 阅读(648) 评论(0) 推荐(0) 编辑
摘要: 原文来自:http://blog.chinaunix.net/uid-7654720-id-3211234.htmlclass SNMP_Wrapper { protected $_host; protected $_community; protected $_version; ... 阅读全文
posted @ 2015-12-26 09:58 Waichung 阅读(236) 评论(0) 推荐(0) 编辑