Re: typo in example code ?

From: Date: Sat, 22 Sep 2007 08:15:37 +0000
Subject: Re: typo in example code ?
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-109@lists.php.net to get a copy of this message
On 9/20/07, bruno seys <brunoseys@pandora.be> wrote: > Hi, > > While executing the on line example code 2251, I received following > error message: > Example 2251. Using snmpget() > <?php > $syscontact = snmpget("127.0.0.1", "public", > "system.SysContact.0"); > ?> > > > > Warning: snmpget() [ <yÖT¾/`� > âó>tP®~÷http://localhost/edu/function.snmpget> > function.snmpget]: Invalid object identifier: system.SysContact.0 in > C:\apachefriends\xampp\htdocs\edu\snmp_test.php on line 36 > > > > I am strongly convinced this is caused by the Upper Casing of the red > "S" within "system.SysContact.0" since changing this to lower case works > fine. Could you file a bug report at http://bugs.php.net/report.php about it? I have absolutely no clue if you are right or not, so I don't want to update it myself. Thanks, -Hannes

« previous php.webmaster (#109) next »