Now passes all but one test. Volunteers that want to track down the cause for test pdo_018.phpt not passing are welcome.