How can i access public variables in a class?
if i have
class A{ var $foo; function A(){ } }
can i just access the variable by
$temp = new A(); $bar = $temp->foo;
or will i have to write a 'get' function for them??
That will work.