Sicong

Results 39 comments of Sicong

I have revised this issue, the query here `$pdo->exec('begin try begin ...` is considered a batch query. So it's necessary to call `$stmt->nextRowset()` to get all the result set. nextRowset...

Close due to inactivity.

Seems the driver is designed to free the stream when the statement closes. But you could pass the $stmt to the function, and unset($stmt) when you're done. ```php

The new release accepts `true` or `false` for connection options. You could change it like this. ``` 'Encrypt' => 'True', 'TrustServerCertificate' => 'True' ```

This is not intended, looks like there's some inconsistency for the connection option. I'll look into a fix.

I'm thinking of accepting `yes/no/true/false` for all options to avoid confusion.

> Can't believe this still hasn't been fixed yet months later I tested with php:8.1-apache today and can't reproduce the error. What's the error message you get?

Could you try to run this script? ``` rm -f /usr/local/opt/openssl ln -s /usr/local/opt/[email protected] /usr/local/opt/openssl ls -ld /usr/local/opt/openssl* ```