[PHP-NOTES] note 130571 added to mysqli.close

[email protected] ("[email protected]") Tue, 09 Dec 2025 11:46:44 +0000
Newsgroups php.notes
Message-ID <[email protected]>
Be aware that when using multiple files that are dependent from each other, if by mistake mysqli::close is called twice, the second call will throw a Fatal Error HTTP 500 even though the page renders normally.
----
Server IP: 206.189.2.9
Probable Submitter: 188.251.60.43
----
Manual Page -- https://php.net/manual/en/mysqli.close.php
Edit        -- https://main.php.net/note/edit/130571
Del: integrated  -- https://main.php.net/note/delete/130571/integrated
Del: useless     -- https://main.php.net/note/delete/130571/useless
Del: bad code    -- https://main.php.net/note/delete/130571/bad+code
Del: spam        -- https://main.php.net/note/delete/130571/spam
Del: non-english -- https://main.php.net/note/delete/130571/non-english
Del: in docs     -- https://main.php.net/note/delete/130571/in+docs
Del: other reasons-- https://main.php.net/note/delete/130571
Reject      -- https://main.php.net/note/reject/130571
Search      -- https://main.php.net/manage/user-notes.php