Posted by Oli Filth on 10/07/81 11:30
Oli Filth said the following on 28/10/2005 01:26: > > class Foo > { > private $v; > > function bar($theFoo) > { > echo $theFoo->$v; ^ Oops. "$v" should be "v" here. > } > } > > $a = new Foo; > $b = new Foo; > $b->bar($a); > -- Oli
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming