You are here

public function Runtime::isHHVM in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/sebastian/environment/src/Runtime.php \SebastianBergmann\Environment\Runtime::isHHVM()

Returns true when the runtime used is HHVM.

Return value

bool

7 calls to Runtime::isHHVM()
Runtime::getBinary in vendor/sebastian/environment/src/Runtime.php
Returns the path to the binary of the current runtime. Appends ' --php' to the path when the runtime is HHVM.
Runtime::getName in vendor/sebastian/environment/src/Runtime.php
Runtime::getVendorUrl in vendor/sebastian/environment/src/Runtime.php
Runtime::getVersion in vendor/sebastian/environment/src/Runtime.php
Runtime::hasXdebug in vendor/sebastian/environment/src/Runtime.php
Returns true when the runtime used is PHP and Xdebug is loaded.

... See full list

File

vendor/sebastian/environment/src/Runtime.php, line 157

Class

Runtime
Utility class for HHVM/PHP environment handling.

Namespace

SebastianBergmann\Environment

Code

public function isHHVM() {
  return defined('HHVM_VERSION');
}