yup, but you dont declare it as anything special... PHP does its magic implicit type gubbins again 🙂
class whatever {
var $myarray;
... stuff ...
function stuff() {
$this->myarray[] = "Hello!";
}
}
then outside of the class, walk through the array... but make sure you check if it ever got instantiated to an array with an if($this->myarray) check. you could even wrap this up as a function in an object.
dom
🙂