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

Class: PHP_Compat

Source Location: /PHP_Compat-1.2.0/Compat.php

Class Overview


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


Author(s):

Version:

  • 1.1.0

Methods


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';



[ Top ]


Method Detail

loadConstant   [line 71]

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.

[ Top ]

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.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 13:55:17 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.