You are here

public static function UprofilerExtension::isLoaded in XHProf 8

Returns TRUE if this extension is loaded into the PHP interpreter.

Return value

bool TRUE when extension loaded or FALSE otherwise.

Overrides ExtensionInterface::isLoaded

1 call to UprofilerExtension::isLoaded()
Profiler::getExtensions in src/Profiler.php
Returns a list of available PHP extensions for profiling.

File

src/Extension/UprofilerExtension.php, line 15

Class

UprofilerExtension
Implements support for uprofiler extension.

Namespace

Drupal\xhprof\Extension

Code

public static function isLoaded() {
  return extension_loaded('uprofiler');
}