<?php class A { private $foo=array(1,2); function f() { return $this->foo; } } $a = new A; echo reset($a->f());
You have javascript disabled. You will not be able to edit any code.