You are here

public function Runtime::isPHP in Zircon Profile 8.0

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

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

Return value

bool

1 call to Runtime::isPHP()
Runtime::hasXdebug in vendor/sebastian/environment/src/Runtime.php
Returns true when the runtime used is PHP and Xdebug is loaded.

File

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

Class

Runtime
Utility class for HHVM/PHP environment handling.

Namespace

SebastianBergmann\Environment

Code

public function isPHP() {
  return !$this
    ->isHHVM() && !$this
    ->isPHPDBG();
}