--TEST-- Bug #81335: Packets out of order after connection timeout --EXTENSIONS-- mysqli --SKIPIF-- = 8.0.24"); } ?> --FILE-- query('SET WAIT_TIMEOUT=1'); usleep(1000000 * 1.1); try { $mysqli->query('SELECT 1 + 1'); } catch(mysqli_sql_exception $e) { echo $e->getMessage(); echo "\n"; echo $e->getCode(); } ?> --EXPECTF-- The client was disconnected by the server because of inactivity. See wait_timeout and interactive_timeout for configuring this behavior. 4031