Test: /ext/mysql/tests/bug48754.phpt - Version 5.6.5-dev        

Bug #48754 mysql_close() crash php when no handle specified
Submitted: 2009-07-01 12:30:54 Modified: 2009-09-18 10:50:23
From: busia Assigned: mysql
Status: Closed Package: MySQL related
PHP Version: 5.3.0 (as of 21-07-2008) OS: *

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
004+ Segmentation fault
004- Expect same thread id for $link and default conn: bool(true)
005- resource(%d) of type (mysql link)
006- resource(%d) of type (Unknown)
007-
008- Warning: mysql_close(): no MySQL-Link resource supplied in %s on line %d
009-
010- Closing default link
011-
012- Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in %s on line %d
013- Expect same thread id for $link and default conn but not the previous: bool(true)
014- resource(%d) of type (mysql link)
015- resource(%d) of type (mysql link)
016- resource(%d) of type (Unknown)
017-
018- Explicit resource and pconnect
019-
020- Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in %s on line %d
021- resource(%d) of type (mysql link persistent)
022- resource(%d) of type (Unknown)
023-
024- Warning: mysql_close(): no MySQL-Link resource supplied in %s on line %d
025-
026- Default link and pconnect
027-
028- Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in %s on line %d
029- resource(%d) of type (mysql link persistent)
030- resource(%d) of type (mysql link persistent)
031- resource(%d) of type (Unknown)