<?php class A { public $esam = 10; } class B { public $mase = 20; } $a = new A; $a->esam = new B; echo $a->esam->mase . "\n"; $c = clone $a; var_dump($c);
You have javascript disabled. You will not be able to edit any code.