ExtensionInterface

Interface

Checks PHP runtime extension availability without coupling callers to global functions.

Table of Contents

Methods

isLoaded()

Determines whether a PHP extension is loaded in the current runtime.

 : bool
Methods

isLoaded()

Public

Determines whether a PHP extension is loaded in the current runtime.

public isLoaded( string  $name) : bool
Parameters
$name : string

Description

the extension name

Return values
bool

Description

true when the extension is loaded