Re: [PHP] Problem with "=& new" and locally created instances

2003-03-28 Thread Jason k Larson
Okay, I understand more now ... I played with this for a couple of minutes and can see exactly where is acting odd, which is exactly where you indicated. :) I tried a couple of things to keep the instance of the object, but the variable keeps getting set back. One thing I did that worked was t

RE: [PHP] Problem with "=& new" and locally created instances

2003-03-28 Thread Jens von Pilgrim
Hello, Jason wrote: JL> Maybe I'm missing something here ... but what is the point of trying JL> to create a reference to a new object ... it hasn't been ceated prior JL> to make reference to. Can't you simply create the new object and JL> then make whatever (if needed) references? Uhh... maybe

Re: [PHP] Problem with "=& new" and locally created instances

2003-03-28 Thread Jason k Larson
Maybe I'm missing something here ... but what is the point of trying to create a reference to a new object ... it hasn't been ceated prior to make reference to. Can't you simply create the new object and then make whatever (if needed) references? -- Jason k Larson Jens von Pilgrim wrote: Hi, I