Re: PHPDoc comment problem
| From: | Ulf Wendel | Date: | Tue, 17 Oct 2000 07:29:25 +0000 |
| Subject: | Re: PHPDoc comment problem | ||
| References: | 1 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-395@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
> It seems that if I have a function/variable comment that extends over
> multiple lines, only the first line is parsed. For example:
>
> /**
> * Controls whether config values of on/true/yes and off/false/no get
> * converted to boolean values automatically.
> *
> * @access public
> */
>
> What gets put in .html file is this:
>
> boolean $booleanize
> Controls whether config values of on/true/yes and off/false/no get
>
> Is this a known problem?
No, it's not. I guess the '$lines = split($this->PHP_BASE["break"],
$phpdoc);' (parser/PhpdocParserObject) is faulty. Maybe I should have
used the userdefined constant LINEBREAK instead of
$this->PHP_BASE["break"] ( = "[\n\r]" ) - but I'm not sure. I will have
a closer look on it later on.
Ulf