yajra / pdo-via-oci8

PHP PDO_OCI functions via OCI8 extension
Other
88 stars 61 forks source link

Conversion of PDO INOUT param to OCI in 64-bit #20

Closed zulrang closed 9 years ago

zulrang commented 9 years ago

When PHP is compiled and run as 64-bit, there is a binding issue that requires PDO::PARAM_INPUT_OUTPUT to be specified for INOUT parameters (See: https://github.com/yajra/laravel-oci8/issues/59)

That fix causes a bug here where the PDO::PARAM_INPUT_OUTPUT isn't accounted for when converting from PDO types to OCI types, and causes the value to always bind as a string, which will causes issues on further binds.

zulrang commented 9 years ago

Created pull request https://github.com/yajra/pdo-via-oci8/pull/21