 |
|
Innovation award
 Nominee: 1x |
This class can be used to declare arrays as constants.
It serializes a given array value to a string and assigns it a given constant.
The class can also do the opposite, i.e retrieve the original constant array value by unserializing the value assigned to the constant.
In Version 2.0.0 arrConst got an advance feature of
accessing the value of a particular element of the Array Constant
The get method is overloaded for this purpose [;) I know actual overloading is not possible in PHP ]