PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Tools and Utilities » PhpDocumentor » Bug #1902

PhpDocumentor fails to detect version right

Details

Submitted2004-07-17 11:52 UTC
Fromruben at Lambda1 dot be
Assigneddrewish
StatusNo Feedback
PackagePhpDocumentor
PHP Version5.0.0
OSLinux
Roadmaps(Not assigned)

Comments

[2004-07-17 11:52 UTC] ruben at Lambda1 dot be

Description:
------------
PhpDocumentor refuses to generate source highlighting, detects version wrong

Reproduce code:
---------------
Invoked with the following code:

phpdoc --directory . --sourcecode on --output HTML:frames:phpedit --target phpdoc/ --title "Linux Systems"

I get the following error:

Parsing configuration file phpDocumentor.ini...
done
using default (slower) Parser - get PHP 4.3.0+
and load the tokenizer extension for faster parsing (your version is 5.0.0
WARNING: sourcecode command-line option is ignored for PHP versions < 4.3.0

[2004-07-20 16:50 UTC] ruben at Lambda1 dot be

Happens when you have no tokenizer support.
(Default gentoo linux use flag is -tokenizer)

Should add detection for tokenizer :)

[2005-10-18 19:18 UTC] drewish at php dot net

I'm not clear on exactly what the problem is. Do you have the tokenzier extension and it isn't being detected? Or, that you don't have the tokenier and the mention of PHP versions in the error message is misleading?