Re: Constant arrays

From: Date: Tue, 20 Dec 2011 00:43:51 +0000
Subject: Re: Constant arrays
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-56955@lists.php.net to get a copy of this message
Hi Barbu: > I wonder why I cannot assign arrays to constants. Do keep in mind that you can serialize() the array before storing it in a constant. Then use unserialize(CONSTANT) when you need the data. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.internals (#56955) next »