#24512 [NEW]: Notice: Undefined variable: i in Registry.php on line 300

From: Date: Sun, 06 Jul 2003 13:42:11 +0000
Subject: #24512 [NEW]: Notice: Undefined variable: i in Registry.php on line 300
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-18042@lists.php.net to get a copy of this message
From: mike at graftonhall dot co dot nz Operating system: Windows 2000 PHP version: Irrelevant PHP Bug Type: PEAR related Bug description: Notice: Undefined variable: i in Registry.php on line 300 Description: ------------ With PEAR 1.2b2. When doing a pear info packagename I get: Notice: Undefined variable: i in Registry.php on line 300 There is a missing $i = 0; after the case statement. case 'provides' : { > $i = 0; $debug = $this->config->get('verbose'); Below is the patch fo fix this: - Mike :-) Compare: (<)T:\Registry.php (13484 bytes) with: (>)I:\HTTPD\pear\PEAR\Command\Registry.php (13511 bytes) 288a288 > $i = 0; -- Edit bug report at http://bugs.php.net/?id=24512&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24512&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24512&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24512&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24512&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24512&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24512&r=support Expected behavior: http://bugs.php.net/fix.php?id=24512&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24512&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24512&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24512&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24512&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24512&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24512&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24512&r=gnused

« previous php.pear.dev (#18042) next »