News Feed
Jobs Feed
Sections




News Archive
Sebastian Bergmann's Blog:
Using HipHop for Static Analysis
July 27, 2010 @ 10:13:51

In a new blog entry today Sebastian Bergmann quickly shows a method of performing some code analysis on code transformed by HipHop for PHP.

HipHop for PHP, the source code transformer that turns PHP code into C++ code that can then be compiled with g++, can also be used for static code analysis to find problems in PHP source code.

He includes a script that creates an XML document that both Checkstyle and PHP_CodeSniffer can use to check for a valid format on his sample "CodeErrors.js" file. He includes the script to create this XML file.

0 comments voice your opinion now!
hiphop xml compile phpcodesniffer checkstyle


blog comments powered by Disqus

Similar Posts

Edin Kadribasic's Blog: Benchmarks

Pádraic Brady's Blog:Doing that thing called PEAR - Packaging Source Code for PEAR Distribution

Steve Hannah's Blog: Adventures with PHP Compilers

Rob Richards Blog: New XML Features and WSSE and ext/soap

Internet Super Hero Blog: MySQL native driver for PHP: mysqlnd-5.0.1-beta available


Community Events











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


opinion development language functional introduction symfony2 conference interview series zendframework2 usergroup database rest phpunit unittest framework release podcast community testing

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