Robby Russell wrote:
A friend of mine asked me if I knew if this was possible in PHP4.
class foo
{
var $bar = NULL;
function foo()
{
$this->bar = new bar();
}
function getBar()
{
return $this->bar;
}
}
class bar
{
var $thing = NULL;
function bar()
{
A friend of mine asked me if I knew if this was possible in PHP4.
class foo
{
var $bar = NULL;
function foo()
{
$this->bar = new bar();
}
function getBar()
{
return $this->bar;
}
}
class bar
{
var $thing = NULL;
function bar()
{
2 matches
Mail list logo