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

PHPBuilder.com: Parsing XML with the DOM Extension for PHP 5

Jonathan Hill: What Is Wrong With PHP's Semaphore Extension

John Coggeshall's Blog: Compiling extensions for Zend Core

Pierre-Alain Joye's Blog: Zip 1.4.0, let comment it!

Joshua Eichorn's Blog: phpDocumentor enhancements


Community Events





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


version opinion framework community symfony language podcast security conference voicesoftheelephpant artisanfiles composer tool library introduction laravel list series release interview

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