Re: [PHP-DEV] Re: PDO Close Connection

2016-01-22 Thread Rowan Collins
Gabriel Zerbib wrote on 22/01/2016 13:35: I hear your point, but I think that the problem is mostly similar to the following piece: $fp = fopen('filename', 'w'); fclose($fp); fwrite($fp, 'data'); Sure, but does that mean that PDO should gain a close function, or that the file functi

[PHP-DEV] Re: PDO Close Connection

2016-01-22 Thread Gabriel Zerbib
> > > -- Forwarded message -- > From: Rowan Collins > To: internals@lists.php.net > Cc: > Date: Thu, 21 Jan 2016 19:18:51 + > > > I think the main problem with a close method on something that represents > a resource like a PDO connection object is how the object should behave