<?php class E { protected $a = array('franz' => 'de leon', 'cheryl' => 'chua'); public function a() { return $this->a; } } $ar = new E; $arr = $ar->a(); $arr['john'] = 'doe'; var_dump($ar->a());
You have javascript disabled. You will not be able to edit any code.