Re: [PHP4BETA] TSRM

From: Date: Wed, 18 Aug 1999 20:31:20 +0000
Subject: Re: [PHP4BETA] TSRM
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-3560@lists.php.net to get a copy of this message
On Wed, 18 Aug 1999, Zeev Suraski wrote: > I'll look into it, the code is optimized so it's a bit difficult to apply > changes, but I'll try. would be nice - and far better for debugging. the problem is that *_global_id is initialized with 0 by the compiler, so if you call *_FETCH() *before* you have allocated the resource you'll always get back the sapi_globals ('cause these get allocated first and thereby sapi_globals_id is 0 - which is correct) tc > > Zeev > > At 18:37 18/08/99 , Thies C. Arntzen wrote: > >could we please let reource-ids start with 1? > > > >that way it's easier to debug if somebody calls *_FETCH() without > >allocation the resource 1st. > > > > > >tc, making progress with ZTS on linux.... > > > > > > > > > >Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" > >Digital Collections Phone +49 40 235350 Fax +49 40 23535180 > >Hammerbrookstr. 93 20097 Hamburg / Germany > > > > > >-- > >PHP 4 Beta > > -- > Zeev Suraski <zeev@zend.com> http://www.zend.com/ > For a PGP public key, finger bourbon@netvision.net.il > > Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.version4 (#3560) next »