You are here

public function Runtime::isPHPDBG in Zircon Profile 8

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

Returns true when the runtime used is PHP with the PHPDBG SAPI.

Return value

bool

3 calls to Runtime::isPHPDBG()
Runtime::getName in vendor/sebastian/environment/src/Runtime.php
Runtime::hasPHPDBGCodeCoverage in vendor/sebastian/environment/src/Runtime.php
Returns true when the runtime used is PHP with the PHPDBG SAPI and the phpdbg_*_oplog() functions are available (PHP >= 7.0).
Runtime::isPHP in vendor/sebastian/environment/src/Runtime.php
Returns true when the runtime used is PHP without the PHPDBG SAPI.

File

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

Class

Runtime
Utility class for HHVM/PHP environment handling.

Namespace

SebastianBergmann\Environment

Code

public function isPHPDBG() {
  return PHP_SAPI === 'phpdbg' && !$this
    ->isHHVM();
}