note 130062 added to mysqli.set-charset

From: Date: Thu, 27 Feb 2025 19:36:48 +0000
Subject: note 130062 added to mysqli.set-charset
Groups: php.notes 
Request: Send a blank email to php-notes+get-221888@lists.php.net to get a copy of this message
Starting with php8, if you attempt to set_charset before the database is connected you will get a 500. Previous to php8 this would work just as expected. ---- Server IP: 45.112.84.4 Probable Submitter: 45.112.84.18 (proxied: 4.59.32.97) ---- Manual Page -- https://php.net/manual/en/mysqli.set-charset.php Edit -- https://main.php.net/note/edit/130062 Del: integrated -- https://main.php.net/note/delete/130062/integrated Del: useless -- https://main.php.net/note/delete/130062/useless Del: bad code -- https://main.php.net/note/delete/130062/bad+code Del: spam -- https://main.php.net/note/delete/130062/spam Del: non-english -- https://main.php.net/note/delete/130062/non-english Del: in docs -- https://main.php.net/note/delete/130062/in+docs Del: other reasons-- https://main.php.net/note/delete/130062 Reject -- https://main.php.net/note/reject/130062 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#221888) next »