Class: PHP_Compat
Source Location: /PHP_Compat-1.4.0/Compat.php
Provides missing functionality in the form of constants and functions for older versions of PHP
Author(s):
Version:
Inherited Variables
Inherited Methods
Class Details
[line
34]
Provides missing functionality in the form of constants and functions for older versions of PHP
Optionally, you may simply include the file. e.g. require_once 'PHP/Compat/Function/scandir.php';
Method Detail
loadConstant [line 72]
bool|array loadConstant(
string|array
$constant)
Load a constant, or array of constants
- Return: TRUE if loaded, FALSE if not
Parameters:
string|array
$constant
—
The constant or constants to load
loadFunction [line 42]
bool|array loadFunction(
string|array
$function)
Load a function, or array of functions
- Return: TRUE if loaded, FALSE if not
Parameters:
string|array
$function
—
The function or functions to load
loadVersion [line 100]
array loadVersion(
[string
$version = null])
Load components for a PHP version
- Return: An associative array of component names loaded
Parameters:
string
$version
—
PHP Version to load
Documentation generated on 2019年3月11日 14:20:35 -0400 by
phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.