This class can be used for declaration of array values as constants.
This class was inspired by a similarly named ("Constant Array") class written by Sourav Ray.
This class has at this point been refactored and augmented to the degree that little of the inspiring class remains beyond the concept.
This class provides the following features and enhancements as compared 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)
- Code added to validate individual keys and to retrieve values by individual keys
- Eliminates use of eval() for security and speed
- Fixes Exception handling
- Code has been reformatted
** See the class phpDoc Block for further details!
|
|
| Name: |
Constant Array 2 |
| Base name: |
array-constant |
| Description: |
Enhanced declaration of array values as constants |
| Version: |
2.0.5 |
| PHP version: |
5.0 |
| License: |
GNU General Public License (GPL) |
| All time users: |
185 users |
| All time rank: |
6739 |
| Week users: |
0 users |
| Week rank: |
2139  |
| |
|
| There are not enough user ratings to display for this class. |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|