On 11 October 2017 at 22:03, BohwaZ/PHP <p...@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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to