PHP 4.0 Bug #5980 Updated: Informix ifx_connect reuses closed connection resource id

From: Date: Sat, 05 Aug 2000 14:10:09 +0000
Subject: PHP 4.0 Bug #5980 Updated: Informix ifx_connect reuses closed connection resource id
Groups: php.dev 
Request: Send a blank email to php-dev+get-27832@lists.php.net to get a copy of this message
ID: 5980 Updated by: danny Reported By: mlemos@acm.org Status: Analyzed Bug Type: Misbehaving function Assigned To: danny Comments: It looks like it could be a Zend problem. The code is essentially unchanged since PHP3 where it works. The resource is deleted on ifx_close but somehow Zend manages to find it again on connect() so the driver thinks it still is active and reuses it. Connect() will *always* check if a connection does not already exist in an attempt to save connections. The (p)connect()/close() code is the same as in mysql, does the same happen with mysql ? Danny --- Full Bug description available at: http://bugs.php.net/?id=5980

« previous php.dev (#27832) next »