Use two dtors thus allow allocation based on the alloc model of the
connection.
Merge branch 'PHP-5.5'
revert change. now it doesn't compile again...someone should fix ext/date...
Merge branch 'PHP-5.5'