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.

Parameter

string $version

The version of PHP to load components until.

Return value

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.

Example

Note

This function should be called statically.