Constant Array 2

Package:
Constant Array 2
Summary:
Enhanced declaration of array values as constants
Groups:
Data types, PHP 5
Author:
Ville Walveranta
Description:
This class can be used for declaration of array values as constants.

This class is based on similarly named ("Constant Array") class written by Sourav Ray.

This version includes the following changes to Sourav Ray's original code:

- Returns booleans for non-associative array values when given (optional)
- Returns values for associative array keys when given (optional)
- Eliminates use of eval() for security and speed
- Fixes Exception handling
- Code has been reformatted

** See the class phpDoc Block for further details!


Powered by Gewgley