Hi,
This code:
$object->$array[] = "value";
Generates this error:
Fatal error: Cannot use [] for reading
Can anyone tell me why? And how to avoid it?
Thanks,
Chris
P.S. I have never encountered this problem before. Very strange to me, though I have alot of PHP experience with classes.