2294a515f60192810f907a887654da5babd464c5
Normally, hhvm will translate echo "x $x"; as echo "x ".$x; Which fully evaluates the rhs, then starts to output it. hphp will transform it to echo "x ", $x; Which avoids the concat, but outputs "x " before evaluating $x. hphp wont perform the transformation if there are obvious side effects, but it will treat a simple variable as having no side effects - even though it may be uninitialized. Im just fixing the test by performing the transformation manually. I don't think anyone cares whether the $x undefined notice appears before or after the "x ".
HipHop VM for PHP
HipHop VM (HHVM) is a new open-source virtual machine designed for executing programs written in PHP. HHVM uses a just-in-time compilation approach to achieve superior performance while maintaining the flexibility that PHP developers are accustomed to. HipHop VM (and before it HPHPc) has realized >5x increase in throughput for Facebook compared with Zend PHP 5.2.
Required Packages, and Installing and Running HipHop VM
The latest information is available on the wiki.
Contributing to HipHop VM
HipHop VM is licensed under the PHP and Zend licenses except as otherwise noted.
Before changes can be accepted a Contributors Licensing Agreement must be signed and returned.
Descrição
Linguagens
C++
59.4%
PHP
34.1%
C
4.1%
Hack
1.4%
CMake
0.3%
Outra
0.6%