News Feed
Sections




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

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

JavaWorld.com: Facebook invents a PHP virtual machine

Felix Geisendorfer's Blog: Cake 1.2’s Set class eats nested arrays for breakfast!

Sebastian Bergmann's Blog: Using CLANG/scan-build for Static Analysis of the PHP Interpreter

Pierre-Alain Joye's Blog: Build cairo on windows, step #1 (Updated)

JSLabs Blog: How to compile php scripts in ASP.net


Community Events





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


laravel symfony package podcast framework update introduction opinion library community release interview version voicesoftheelephpant mvc language tool series security composer

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