Re: [PHP] Don't tell me this isn't possible (object related question)

2001-11-30 Thread Matt McClanahan
On Sat, Dec 01, 2001 at 12:15:37AM +0100, Jeroen Olthof wrote: > let's say I have made some objects > $content = new Content(); > > and in object content a new object is created > $person = new Person("Jeroen"); > > Person holds a var age > > Now I want to do something like this in a normal PH

[PHP] Don't tell me this isn't possible (object related question)

2001-11-30 Thread Jeroen Olthof
hi, let's say I have made some objects $content = new Content(); and in object content a new object is created $person = new Person("Jeroen"); Person holds a var age Now I want to do something like this in a normal PHP script echo $content->getPerson("Jeroen")->getAge(); or since PHP doesn't