The mysqli_stmt::bind_result() method binds variables to a prepared statement for result storage.
In PHP with PDO, you can use the debugDumpParams() method on a prepared statement object to view the final SQL parametrized query.