-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Argument #2 ($arg) must be passed by reference, value given #222
Comments
There are various issues with PHP 8+, and haven't gotten around to addressing. Seems the warnings is expected starting with PHP 8 to show according to https://www.php.net/manual/en/function.array-reduce.php You can submit PR to address function |
Hi,
|
Seems reasonable, have you tried the patch on PHP 7.4 to see for BC? |
I'm probably missing something out, but the query is simple and the row is correctly inserted into the db.
I installed it with composer ezsql/ezsql on windows, xampp, php 8.1.4
the, double, error
Warning: ezsql\Database\ez_mysqli::ezsql\Database{closure}(): Argument #2 ($arg) must be passed by reference, value given in C:\xampp\htdocs\vendor\ezsql\ezsql\lib\Database\ez_mysqli.php on line 307
Warning: ezsql\Database\ez_mysqli::ezsql\Database{closure}(): Argument #2 ($arg) must be passed by reference, value given in C:\xampp\htdocs\vendor\ezsql\ezsql\lib\Database\ez_mysqli.php on line 307
i also tried, same error, and new row in the db is inserted.
or
if I do simple query without shortcut it works without errors
Thank you
The text was updated successfully, but these errors were encountered: