While debugging with XDebug  when a mysqli_stmt instance comes up in the current scope  the XDebug session is disconnected and the script terminates (It appears related to the IDE wanting to display info about the variable)