#23917 [NEW]: PEAR_Common::analyzeSourceCode uses token_get_all on non-php files
| From: | greg at chiaraquartet dot net | Date: | Sat, 31 May 2003 04:31:21 +0000 |
| Subject: | #23917 [NEW]: PEAR_Common::analyzeSourceCode uses token_get_all on non-php files | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-16851@lists.php.net to get a copy of this message | ||
From: greg at chiaraquartet dot net
Operating system: Windows XP
PHP version: 4.3.2
PHP Bug Type: PEAR related
Bug description: PEAR_Common::analyzeSourceCode uses token_get_all on non-php files
PEAR assumes that files with role="php" are PHP files, but image files are
included as part of docbuilder, and are parsed as PHP. Perhaps a basic
extension check would fix this.
This bug renders pear package impossible on phpDocumentor
--
Edit bug report at http://bugs.php.net/?id=23917&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23917&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23917&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23917&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23917&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23917&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23917&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23917&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23917&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23917&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23917&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23917&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23917&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23917&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23917&r=gnused