<?php class B { public $t = 'rrrrr'; } $a = [ 'test' => 't' ]; $b = new B(); var_dump($b->$a['test']);
You have javascript disabled. You will not be able to edit any code.