Re: [PHP4BETA] unixODBC support not working with PHP4beta4
| From: | thies at digicol dot de | Date: | Wed, 23 Feb 2000 09:23:25 +0000 |
| Subject: | Re: [PHP4BETA] unixODBC support not working with PHP4beta4 | ||
| References: | 1 2 3 4 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-10707@lists.php.net to get a copy of this message | ||
On Wed, Feb 23, 2000 at 09:38:20AM +0100, Andreas Karajannis wrote:
> thies@digicol.de wrote:
> >
> > the right way would be to use reference counting! add a ref
> > to the connection when a statement if parsed on that
> > connection and do a del_ref in yout statement_dtor routine.
> > that way the order will always be correct.
> >
> So you mean the order in which the destruction of zend lists is
> performed depends on refs?
no, but that way all resources will be freed in the right
order when the symbol_table gets destructed. the
destroy_resource list will simply do nothing as everything
has been freed during that "pass".
>
> -Andreas
> --
> Andreas Karajannis
> GMD National Research Center for Information Technology
> Schloss Birlinghoven, D-53754 Sankt Augustin
> Phone +49 2241 142948
>
--
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