At 13:04 18/03/2002, Wez Furlong wrote:
>I've noticed a couple of places in the code where ZEND_REGISTER_RESOURCE
>is used to remember to cleanup streams, and then deletes the list entry
>when it has completed what it was doing.
>
>It's a nice idea, but it doesn't feel safe to me (probably because
>I'm not 100% aware of the way that PHP handles the connection aborting),

I'm not sure why you think it's unsafe..?  That's one of the key advantages 
of using the resource infrastructure.  I can't see how streams are 
different from any other resource.

Zeev


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to