I think you saw my problem: Php wierdness ~ just making things up as you go along.
Objects acquiring properties by assignment. Doesn't make sense since an object is a type. Niklaus Wirth et al really would hate it.
I don't - just didn't realise you can to something similar with classes to what you can do with arrays. As you say a complete logical balls-up.
General developer forum
Where is stdClass defined.
This discussion has been locked so you can no longer reply to it.