Re: [RFC] [VOTE] Implement missing SQLite feature "openBlob" in PDO

From: Date: Wed, 11 Oct 2017 23:00:28 +0000
Subject: Re: [RFC] [VOTE] Implement missing SQLite feature "openBlob" in PDO
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-100864@lists.php.net to get a copy of this message
On 11 October 2017 at 22:03, BohwaZ/PHP <php@bohwaz.net> wrote: > Hey, > > For people voting against the RFC, could you please explain your vote here > so that we might understand? > > Cheers. I think people were reasonably clear during the discussion. Having certain methods only available on an object depending on how it was initialized is just not a good idea. Danack wrote: > This might be a mistake in how it was implemented originally. Looking > back it seems that it was implemented before we had the RFC > process....and is exactly the type of 'sub-optimal' implementation the > RFC process is meant to prevent. > > ...rather thank just hack in new features building on sub-optimal > ways of doing things, I think it would be better to create a plan to > clean up the way that connection specific methods are available, with > something along the lines of that which I mentioned above. Regardless of how the vote for this RFC goes, it would be appropriate to have an RFC to clean up how PDO makes connection specific methods available. If the current RFC fails, I would guess that people would be happier adding the connection specific methods in a less magic way. cheers Dan

« previous php.internals (#100864) next »