<?php class Test { public function foo() { echo "I was just called.<br>"; return array('a', 'b', 'c', 'd', 'e'); } } $test = new Test(); foreach ($test->foo() as $value) { echo $value . "<br>"; }
You have javascript disabled. You will not be able to edit any code.