<?php class X{ protected $ar = ['a','b']; public function test(){ return $this->ar; } } $x = new X(); $a = $x->test(); var_dump($a);
You have javascript disabled. You will not be able to edit any code.