Re: FeatureRequest for PHP5

From: Date: Thu, 24 Jan 2002 00:24:35 +0000
Subject: Re: FeatureRequest for PHP5
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-77944@lists.php.net to get a copy of this message
> > 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 serialize or implode the values ... This is a decent feature request, submit feature requests to: http://bugs.php.net regards, Philip Olson

« previous php.dev (#77944) next »