0526e973c513eae34c2e94d9d6cf11a471441db9
The simplifier would convert strictly-integer strings to their integer equivalent, and all other strings to zero. This meant that eg "1.1" became zero, as did "1x". Normally, such strings are converted at the ast level, so it was hard to expose the bug, but eg test/quick/cnvInt.php would fail if you turned off JitEnableRenameFunctions (and its turned off in repo mode, so the repo mode test was failing). The same issue was present in ConvStrToDbl, but there was a bug in StringData::isNumeric causing it to return true for a weakly-numeric string, where its contract is to return false (and it did return false for an equivalent, non-static string). Once I fixed that bug, I had to fix the bug in ConvStrToDbl.
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%