<?phpclassPerson{privatefloat$mentalEnergy=100.0;privatearray$decisionsToday=[];privatearray$habits=[];privatearray$decisionWeights=['trivial'=>0.5,// What socks to wear'minor'=>2.0,// What to eat for lunch'moderate'=>5.0,// Whether to go to the gym'major'=>15.0,// Whether to accept a job offer'critical'=>25.0// Whether to move to a new city];