Posted by Oli Filth on 10/13/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
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming