Skip to content
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

str_replace_array() is deprecated in laravel framework 8.75 #1

Open
abyssgoing opened this issue Oct 17, 2022 · 0 comments
Open

str_replace_array() is deprecated in laravel framework 8.75 #1

abyssgoing opened this issue Oct 17, 2022 · 0 comments

Comments

@abyssgoing
Copy link

Call to undefined function TsaiKoga\PerformancePrinter\Query\str_replace_array()
I use Str::replaceArray instead of str_replace_array

use Illuminate\Support\Str;
$sql_with_bindings = Str::replaceArray('?', $bindings,  $query);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant