function Runtime::hasXdebug
Returns true when the runtime used is PHP and Xdebug is loaded.
2 calls to Runtime::hasXdebug()
- Runtime::canCollectCodeCoverage in vendor/
sebastian/ environment/ src/ Runtime.php - Returns true when Xdebug or PCOV is available or the runtime used is PHPDBG.
- Runtime::getNameWithVersionAndCodeCoverageDriver in vendor/
sebastian/ environment/ src/ Runtime.php
File
-
vendor/
sebastian/ environment/ src/ Runtime.php, line 190
Class
Namespace
SebastianBergmann\EnvironmentCode
public function hasXdebug() : bool {
return $this->isPHP() && extension_loaded('xdebug');
}