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

Breadcrumb

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

function Runtime::hasPHPDBGCodeCoverage

Returns true when the runtime used is PHP with the PHPDBG SAPI and the phpdbg_*_oplog() functions are available (PHP >= 7.0).

1 call to Runtime::hasPHPDBGCodeCoverage()
Runtime::canCollectCodeCoverage in vendor/sebastian/environment/src/Runtime.php
Returns true when Xdebug or PCOV is available or the runtime used is PHPDBG.

File

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

Class

Runtime

Namespace

SebastianBergmann\Environment

Code

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