PDO - closeCursor and unset($stmt)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • webcm123@gmail.com

    PDO - closeCursor and unset($stmt)

    Does destroying $stmt cursor in PDO free results? Do I need to type
    closeCursor() before?

  • petersprc

    #2
    Re: PDO - closeCursor and unset($stmt)

    Yes, the destructor is supposed to take care of that.

    On Jun 16, 5:10 am, webcm...@gmail. com wrote:
    Does destroying $stmt cursor in PDO free results? Do I need to type
    closeCursor() before?

    Comment

    Working...