- function getPHPInfo( $impl = false ) {
- if (
- ( defined( 'HHVM_VERSION' ) && $impl !== 'PHP' ) ||
- $impl === 'HHVM'
- ) {
- return array(
- 'implementation' => 'HHVM',
- 'version' => defined( 'HHVM_VERSION' ) ? HHVM_VERSION : 'undefined',
- 'vendor' => 'Facebook',
- 'upstreamSupported' => '3.18.5',
- 'minSupported' => '3.18.5',
- 'upgradeURL' => 'https://docs.hhvm.com/hhvm/installation/introduction',
- );
- }