Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Runtime.php

function Runtime::isPHP

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

2 calls to Runtime::isPHP()
Runtime::hasPCOV in vendor/sebastian/environment/src/Runtime.php
Returns true when the runtime used is PHP with PCOV loaded and enabled.
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 198

Class

Runtime

Namespace

SebastianBergmann\Environment

Code

public function isPHP() : bool {
    return !$this->isPHPDBG();
}
RSS feed
Powered by Drupal