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:

<?php
  for ($i=0;$i<1000; $i++) {
    $link = mysql_connect("localhost", "foo", "bar");
    mysql_close();
  }
?>

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

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

Reply via email to