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

Breadcrumb

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

function Runtime::isPHPDBG

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

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 206

Class

Runtime

Namespace

SebastianBergmann\Environment

Code

public function isPHPDBG() : bool {
    return PHP_SAPI === 'phpdbg';
}
RSS feed
Powered by Drupal