Méthode | Description | |
---|---|---|
extension_loaded ( string name ) : bool |
Find out whether an extension is loaded.
|
|
get_loaded_extensions ( bool zend_extensions = false ) : |
Returns an array with names of all loaded native extensions.
|
|
phpversion ( string extension = null ) : string | ||
version_compare ( string version1, string version2, string op ) : bool |
Compares two "PHP-standardized" version number strings.
|
|
version_compare ( string version1, string version2 ) : int |
Compares two "PHP-standardized" version number strings.
|
Méthode | Description | |
---|---|---|
CompareParts ( string part1, string part2 ) : int |
Compares parts of varsions delimited by '.'.
|
|
VersionToArray ( string version ) : string[] |
Parses a version and splits it into an array of parts. Non-alphanumeric characters are eliminated. The version is split in between a digit following a non-digit and by characters '.', '-', '+', '_'. |
|
get_extension_funcs ( string extension ) : |
public static extension_loaded ( string name ) : bool | ||
name | string | The extension name. |
Résultat | bool |
public static get_loaded_extensions ( bool zend_extensions = false ) : |
||
zend_extensions | bool | Only return Zend extensions. |
Résultat |
public static phpversion ( string extension = null ) : string | ||
extension | string | |
Résultat | string |
public static version_compare ( string version1, string version2, string op ) : bool | ||
version1 | string | |
version2 | string | |
op | string | |
Résultat | bool |
public static version_compare ( string version1, string version2 ) : int | ||
version1 | string | |
version2 | string | |
Résultat | int |