Closed nazarialireza closed 2 years ago
Would you be able to review this PR https://github.com/yajra/pdo-via-oci8/pull/104 if it fixes the issue? Will merge when you confirm it's working.
Yes its working according to my test in this comment
Released on v3.2.3 thanks!
Summary of problem or feature request
I'm using Laravel OCI8 v9 which I have many deprecation logs for Calling
reset()
function for PHP 8.1.4:I already post comment in Laravel OCI8 here
Code snippet of problem
The following code fixed my issue hope do the same for other, line 690, 691of
yajra\laravel-pdo-via-oci8\src\Pdo\Oci8\Statement.php
need to be update from this:To this:
The above code fixed my deprecation logs. this is my
Log::alert(reset($row) . ' ' . current(((array) $row)) );
[2022-06-11 09:12:09] local.ALERT: BACKUP BACKUP
System details