It seems advantageous to have phpBB compatible with HipHop for the benefit of large boards, as it is much more efficient and less memory intensive than a standard installation, as well as being more secure (php code injection is quite literally impossible). Additionally, due to the limitations of the HipHop platform, compatibility will force the removal of php language features (primarily eval() based logic) from the phpBB codebase, resulting in cleaner code.the HipHop wiki on Github wrote:HipHop for PHP transforms PHP source code into highly optimized C++. It was developed by Facebook and was released as open source in early 2010.
HipHop transforms your PHP source code into highly optimized C++ and then compiles it with g++ to build binary files. You keep coding in simpler PHP, then HipHop executes your source code in a semantically equivalent manner and sacrifices some rarely used features – such as eval() – in exchange for improved performance.
I have already prepared a patch for such compatibility, and have confirmed it functions in both a php and hphp environment. The tree can be found at https://github.com/ckwalsh/phpbb3/tree/ ... lsh/hiphop. To build phpBB with HipHop, compile HipHop per their wiki instructions, execute the ./develop/hiphop.php script in my branch, and follow the instructions.
As a side note, As of this posting HipHop has a bug that prevents templates from outputting correctly. I have fixed this in my own HipHop branch, and it has not been merged into the main repository. Until it is fixed, use my HipHop repository instead of the official one to build hphp and phpBB3.