> > It would be great if it was possible to have CONSTANTS
> > of types like as Arrays or Objects.
> You can already use constant arrays such as array(1, 2, 3)
> as constants.
Maybe some day ;)
define('BLAH', array(4,5));
Warning: Constants may only evaluate to scalar values
You can seria
You can already use constant arrays such as array(1, 2, 3) as constants.
Andi
On Wed, 23 Jan 2002, Christian Dickmann wrote:
> Hi all,
>
> It would be great if it was possible to have CONSTANTS
> of types like as Arrays or Objects.
>
> This way one could have a Config-Constant and you
> would