Re: Re: log in destructors?

From: Date: Tue, 09 Apr 2002 11:48:13 +0000
Subject: Re: Re: log in destructors?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-1118@lists.php.net to get a copy of this message
El mar, 09-04-2002 a las 13:12, Martin Jansen escribió: > On Tue, 09 Apr 2002 13:02:09 +0200, Tomas V.V.Cox wrote: > > >Robert Janeczek wrote: > >> > >> $t=new Testus(); > > > >$t = &new Testus(); > > ^-> PEAR destructors needs create the object by reference > > Ahh, I did not see that before replying. But why do I get the > access denied error in this case? > Try using the full path (or realpath()) for the file (why not add it inside the class?). I saw that in the apache SAPI the current path is lost (it changes to "/") inside the destructor. I posted a test script in pear-general. Tomas V.V.Cox

« previous php.pear.general (#1118) next »