Bug #81034 [Fbk->NoF]: mysqli_result::free emmits exception/warning

From: Date: Sun, 23 May 2021 04:22:09 +0000
Subject: Bug #81034 [Fbk->NoF]: mysqli_result::free emmits exception/warning
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-233985@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81034&edit=1 ID: 81034 Updated by: php-bugs@lists.php.net Reported by: shop1 at mokraemer dot de Summary: mysqli_result::free emmits exception/warning -Status: Feedback +Status: No Feedback Type: Bug Package: MySQLi related PHP Version: 8.0.6 Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2021-05-12 09:41:41] nikic@php.net Could you please provide an example script for the case you have in mind? ------------------------------------------------------------------------ [2021-05-12 09:40:24] shop1 at mokraemer dot de Description: ------------ an exception is thrown and a warning is emitted if no result is available. There is no need to emmit this!!! With this (change due to @ operator) it makes db handling more complex without any benefit. Since insert/update events do not have any results. Expected result: ---------------- do NOT emit any warning! this causes error checks to trigger, which is not desireable!!! Actual result: -------------- an exception is emitted (can be handled, but unneeded) and a warning is emitted which is worse, since it can't be silenced! ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=81034&edit=1

« previous php.bugs (#233985) next »