Why do we use PDO::closeCursor()
method/function in PDO PHP?
Basically this question is asked already there but the answers are not contextual that can give a clear output that why PDO::closeCursor()
is used?
When should I use closeCursor() for PDO statements?
On php.net its definition is too summarized that one cannot understand after reading it.
Can anyone tell? Examples will be more useful for better understanding.