ID: 48772 Updated by: j...@php.net Reported By: bentogoa at gmail dot com -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: Windows XP PHP Version: 5.3.0 New Comment:
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. See bug #48754 Previous Comments: ------------------------------------------------------------------------ [2009-07-02 11:29:07] bentogoa at gmail dot com Description: ------------ php_mysql.dll crashes when mysql_close() is called with no link identifier. Apache 2.2.10 Running php with only one extension Reproduce code: --------------- <?php mysql_connect("localhost", "username", "password") or die("Could not connect: " . mysql_error()); echo 'Connected successfully'; mysql_close(); ?> Expected result: ---------------- Connected successfully Actual result: -------------- php_mysql.dll crashes and the connection is reset. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48772&edit=1