|
Posted by amygdala on 12/09/27 11:55
Hi,
I'm trying to assign values to an array by evaluating expressions like so:
$myArray = (
'sessionMaxInactive' => 60*5,
'persistentMaxTime' => 60*60*24*30
);
This doesn't seem to work. I've tried surrounding them with the brackets and
double quotes too, to no avail. Sould this be possible in php? If so, what
am I missing?
Thanks.
Navigation:
[Reply to this message]
|