![]() |
|
|
+ Search |
![]()
|
Jun 10th, 1999 07:00
Nathan Wallace, Rasmus Lerdorf
You need to do $object->var. For example:
class Foo {
var $i;
function Foo() {
$this->i = new Bar;
}
}
$f = new Foo;
echo $f->i;