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

Greg Beaver's Blog: pecl/docblock version 0.2.0 released

Andrew Podner: Intro to PHP Comments and Docblocks

Edin Kadribasic's Blog: PHP 5.2.0 RC4 Windows build available

Zend Developer Zone: Debugging PHP applications with xdebug

Pierre-Alain Joye's Blog: zip 1.8.0 can add empty dir, php6 zip initial unicode support


Community Events

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


laravel psr7 extension unittest development library conference community wordpress laravel5 opinion voicesoftheelephpant introduction release series framework interview api podcast language

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