|
Posted by ImOk on 11/21/00 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?
this wont work either inside a class. Seems like a serious problem to
me.
class foo {
private $xyz = 2 * 3;
}
Navigation:
[Reply to this message]
|