Extension

Class
implements ExtensionInterface
Final: Yes

Checks PHP runtime extension availability through PHP's native runtime.

Table of Contents

Interfaces

ExtensionInterface

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

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