PHP_Compat::loadVersion()

PHP_Compat::loadVersion() -- Load all components, or all components until a given version of PHP

Synopsis

require_once 'PHP/Compat.php';

array PHP_Compat::loadVersion (string $version)

Description

Load all components, or all components until a given version of PHP.

Paramètres

chaîne de caractères $version

The version of PHP to load components until.

Valeur retournée

array

An associative array of boolean values. The key is the name of the component loaded. The value for whether or not the component was loaded correctly.

Exemple

Note

Cette fonction devrait être appelée de façon statique.