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

PHP Deprecated: implode(): Passing glue string after array is deprecated. #382

Open
sjopz opened this issue May 7, 2022 · 0 comments
Open

Comments

@sjopz
Copy link

sjopz commented May 7, 2022

Hi,

Who can help me make these code working whitout warnings? It is a file from Redis PHP Rescue

PHP Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in /public_html/vendor/chrisboulton/php-resque/lib/Redisent/Redisent.php on line 73

Here is the code

/* Build the Redis unified protocol command /
array_unshift($args, strtoupper($name));
$command = sprintf('
%d%s%s%s', count($args), CRLF, implode(array_map(array($this, 'formatArgument'), $args), CRLF), CRLF);

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