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 10.10.2006

Developer Tutorials Blog: Learn regular expressions in PHP

DevShed: Working with Regular Expressions with Filters in PHP 5

PHP 10.0 Blog: ICU+PHP=love

Michael Kimsal's Blog: Why do browsers still not have file upload progress meters?


Community Events





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


code introduction list bugfix framework developer tips interview zendserver api laravel release deployment community development conference podcast language series symfony

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