call for pecl/event discussion and development
| From: | Xuefer | Date: | Fri, 14 Mar 2008 11:35:25 +0000 |
| Subject: | call for pecl/event discussion and development | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-5170@lists.php.net to get a copy of this message | ||
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.
is there anyone interested in php event module and want to make it
better? like fix or redesign the event resource maintaining