|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-07-02 11:31 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 22 16:00:01 2025 UTC |
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.