News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Greg Beaver's Blog:
New PECL Docblock Extension
November 22, 2005 @ 05:51:18

On Greg Bewaver's blog today, there's this new post providing some information about a new PECL extension for DocBlock creation/parsing he's created.

I just released pecl at pecl.php.net, my first PHP extension. docblock is to phpDocumentor docblocks what the tokenizer extension is to PHP itself. It takes a docblock as an argument, and returns an array of tokens. Parsing docblocks in PHP has always been a major pain, and also very difficult to do correctly, because certain kinds of code simply won't parse correctly without a proper scanner (such as docblocks containing and @fopen - phpDocumentor 1.3.x will try to parse the "@fopen" tag).

He notes it's only really been tested with PHP 5.1, but has shown some promising results so far. And, for users of phpDocumentor, he also provides a quick update on the status of that project as well...

1 comment voice your opinion now!
pecl docblock extension phpdocumentor pecl docblock extension phpdocumentor


blog comments powered by Disqus

Similar Posts

Community News: Latest PECL Releases for 08.07.2007

Antonin Januska: How To Write Code Comments Well

C7Y: Optimizing with APC

Community News: Latest PECL Releases for 08.28.2007

SitePoint.com: Create Dynamic Images with ImageMagick


Community Events

Don't see your event here?
Let us know!


laravel5 example voicesoftheelephpant php7 series security interview introduction opinion version community video laravel release framework api podcast language unittest library

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework