Re: call for pecl/event discussion and development

From: Date: Fri, 14 Mar 2008 12:01:25 +0000
Subject: Re: call for pecl/event discussion and development
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5171@lists.php.net to get a copy of this message
Hi, On Fri, Mar 14, 2008 at 12:35 PM, Xuefer <xuefer@gmail.com> wrote: > http://pecl.php.net/bugs/bug.php?id=5139 poll not working > http://pecl.php.net/bugs/bug.php?id=13382 double free of zval > http://pecl.php.net/bugs/bug.php?id=13383 Conditional jump or > move > depends on uninitialised in free_event() > > and resource maintaining is an issue too in event module, when shall > the event resource released? why there is event_free() function? > there's no other php function like this that require use to maintain > the resource > e.g.: > $fp = fopen... > unset($fp); // file is closed, resource is released > > $fp = fopen... > fclose($fp); // file is closed, but resource is still there, just no > longer an open handler > so what will happen if we call file_free($fp); and access $fp later? > luckily we don't file_free() function. and i don't think we should > have event_free function which is a c not php level design. there is plenty of free-like functions (image, xml, enchant, etc.) > is there anyone interested in php event module and want to make it > better? like fix or redesign the event resource maintaining The best would be to contact Wez (I added him as CC) and see if you can help him with this extension. Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org

« previous php.pecl.dev (#5171) next »