> I generally agree that there's little value to a disconnect() action;
unset($pdo) is already sufficient.

See the point again about persistent connections. The user has no means to
disconnect in that case.

> I recommend to use a name that deters users from using it in normal
operations, e.g. pdo->debug_manual_disconnect().

Considering the above as well, a possible stance to take could be to
introduce it as persistent_disconnect(). We could then decide whether it
should function on "regular" connections as well.

Reply via email to