dl

dl

(PHP 4, PHP 5, PHP 7)

dlLoads a PHP extension at runtime

Description

bool dl ( string $library )

Loads the PHP extension given by the parameter library.

Use extension_loaded() to test whether a given extension is already available or not. This works on both built-in extensions and dynamically loaded ones (either through php.ini or dl()).