95afc7f255a19b2c9bff8006c85a0939c6fe7c90
See the task for details, but the bottom line is that casting NaN to an int in PHP is passed straight through to the hardware's convert-floating-point-to-scalar instruction. This implementation explicitly spells out the Intel instruction's behavior. The ARM instruction always outputs zero instead, resulting in inconsistency. To be clear, I'm OK with not checking this in. For one thing, I'd bet that if you compiled Zend on ARM, it would cast NaN to zero (I haven't tried it). The advantage that this gets us is consistent output on all platforms.
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%