apidoc
[ class tree: apidoc ] [ index: apidoc ] [ all elements ]

Class: PHP_Compat

Source Location: /PHP_Compat-0.2/Compat.php

Class Overview


Provides missing functionality in the form of constants and functions for older versions of PHP


Author(s):

Version:

  • 0.1

Methods


Inherited Variables

Inherited Methods


Class Details

[line 34]
Provides missing functionality in the form of constants and functions for older versions of PHP

The methods in this class should be called statically

Optionally, you may simply include the file. e.g. require_once 'PHP/Compat/Function/scandir.php';



[ Top ]


Method Detail

loadConstant   [line 70]

void loadConstant( string|array $constant)

Load a constant, or array of constants

Parameters:

string|array   $constant   —  The constant or constants to load.

[ Top ]

loadFunction   [line 43]

void loadFunction( string|array $function)

Load a function, or array of functions

Parameters:

string|array   $function   —  The function or functions to load.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 10:16:56 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.