Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4465 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41973 invoked by uid 1010); 13 Sep 2003 19:16:55 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 41949 invoked from network); 13 Sep 2003 19:16:55 -0000 Received: from unknown (HELO mailout02.sul.t-online.com) (194.25.134.17) by pb1.pair.com with SMTP; 13 Sep 2003 19:16:55 -0000 Received: from sfwd00.aul.t-online.de by mailout02.sul.t-online.com with smtp id 19yFt8-0004Av-00; Sat, 13 Sep 2003 21:16:54 +0200 Received: from linux.local (S3+mIrZpweZ7xpGyvKh1pSTIItoQipjo-7uWmMhhYL6JPB4Xuyc7wD@[217.81.148.173]) by afwd00.sul.t-online.com with esmtp id 19yFt5-0CtNAm0; Sat, 13 Sep 2003 21:16:51 +0200 To: internals@lists.php.net Date: Sat, 13 Sep 2003 21:16:45 +0200 User-Agent: KMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200309132116.45988.georg@php.net> X-Seen: false X-ID: S3+mIrZpweZ7xpGyvKh1pSTIItoQipjo-7uWmMhhYL6JPB4Xuyc7wD Subject: Bug in xxxxx_close(); From: georg@php.net (Georg Richter) Hi, currently I don't have time to analyze or fix it, so I hope someone will take a look, it affects most of db-extensions which support (optional) default connection. Sample: doesn't work correct: Function _close_mysql_link which was registered via zend_register_list_destructors_ex will be called only 1 time at end of script. If you specify mysql_close($link) instead, everything works fine. Georg