I'm looking for a way to get a constant array or something that is similiar to
a #define XYZ abc in C.

I want to be able to do the following:

DEFINE SOMEHOW:  abc as XYZ  (like #define XYZ abc) where abc is an
array. So that XYZ is replaced by abc.

so that I can use XYZ[key] in my php-code and that this translates to abc[key].

Or is there another possibility for this. I wouldn't mind if XYZ is not
constant as long as can use XYZ instead of abc.
Would it be possible to do such a thing with references?

Thanks for your help.


E-Mail: Gregor Maier <[EMAIL PROTECTED]>
Date: 23-Aug-2001
Time: 17:09:14

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to