Hello,
When I create a method to perform queries on my BDD with PDO, I put my code (the connection to the application) in a try / catch. And therefore I would like to close my connection in a finally block to be on it closes even if there is a problem in my code. But I believe that this statement does not exist in PHP5, and I was wondering if there was no equivalent. Thank you in advance for your answers.
Bookmarks