<?php class a { protected $a = 10; protected $c;} class b { protected $b; public function setA($a){$this->b = $a;return $this;}} echo serialize((new b)->setA(new a));
You have javascript disabled. You will not be able to edit any code.