On Sat, Apr 28, 2001 at 06:12:19PM +0200, Andi Gutmans wrote:
> At 08:28 AM 4/28/2001 -0400, Joe Brown wrote:
> >Having said that,
> >1. is there a good reason OCI shouldn't free the resource reguardless of the
> >reference count?
the problem is that freeing resources that are still in use
will cause trouble once we try to use them (and expect they
are still there)
>
> There are different ways to look at this. Some people might think it should
> and some might think it shouldn't. I'm not even completely sure this is
> consistent across all the db modules of PHP.
>
>
> >2. Should intval not pump up the refcount when doing something silly like
> >converting a resource to an integer?
>
> There was a bug in the Zend engine which is at least partially the reason
> for you seeing the behavior you saw. Zeev fixed it a few minutes ago. I
> suggest you try and use the latest CVS and let us know how it goes for you.
if that doesn't help - could you please send me a minimal
testscript that shows the problem? (< 50 lines) - i'll then
dig into this a bit...
re,
tc
>
> Andi
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]