scusate..correggo la composizione della classe che era sbagliata...
Codice PHP:
$Class->name=pippo
$Class->Obj["subclass"][0]->propriety = 1
$Class->Obj["subclass"][1]->propriety = 2
$Class->Obj["subclass"][2]->propriety = 3
$Class->Obj["subotherclass"][0]->Other[0]->otherprp = a
$Class->Obj["subotherclass"][0]->Other[1]->otherprp = b
...sto cercando di riprodurre quello che fà la funzione print_r, solo che ho bisogno di gestire il prodotto per singola proprietà...mi potete aiutare?
![]()