snmp_get_quick_print

(PHP 4, PHP 5, PHP 7, PHP 8)

snmp_get_quick_print返回 UCD 庫中 quick_print 設(shè)置的當前值

說明

snmp_get_quick_print(): bool

返回保存在 UCD 庫中 quick_print 的當前值。默認情況下 quick_print 為 off。

示例 #1 snmp_get_quick_print() 示例

<?php
  $quickprint 
snmp_get_quick_print();
?>

如果 quick_print 為 off,上邊的函數(shù)調(diào)用將返回 false,而如果 quick_print 為 on,則返回 true

snmp_get_quick_print() 僅在使用了 UCD SNMP 庫時才可用。當使用 Windows SNMP 庫時,此函數(shù)不可用。

參見 snmp_set_quick_print() 查看 quick_print 的詳細說明。