lib/SqlServer/Statement.php
public function close(): void
    {
        if (!sqlsrv_free_stmt($this->stmt)) {
            throw new SqlException('Failed to close statement', sqlsrv_errors(), $this->query, $this->params);
        }
    }
public function close(): void
    {
        if (!sqlsrv_free_stmt($this->stmt)) {
            throw new SqlException('Failed to close statement', sqlsrv_errors(), $this->query, $this->params);
        }
    }
public function close ( ) : void { if ( ! sqlsrv_free_stmt ( $ this -> stmt ) ) { throw new SqlException ( 'Failed to close statement' , sqlsrv_errors ( ) , $ this -> query , $ this -> params ) ; } }
Frees all resources associated with the result statement.
@throws SqlException if failure closing the statement
Frees all resources associated with the result statement .