note 12062 added to function.snmpset.php

From: Date: Wed, 21 Mar 2001 07:30:22 +0000
Subject: note 12062 added to function.snmpset.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-12618@lists.php.net to get a copy of this message
snmpget appears to return an empty array on success. This will look like 'false' to a true/false test. I use if (! $rslt && ! is_array($rslt)) die(...); to test for a failure http://www.php.net/manual/en/function.snmpset.php

« previous php.notes (#12618) next »