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

[ErrorException] implode(): Passing glue string after array is deprecated. Swap the parameters #2120

yanchespenda opened this issue Oct 24, 2020 · 1 comment · Fixed by #2123


Copy link

Hi, Im trying compile Tensor extension in my windows, but I got an error.

Here's a message from a command

composer compile
> zephir compile
 Preparing for PHP compilation...
The system cannot find the path specified.
The system cannot find the path specified.

In Compiler.php line 862:

  implode(): Passing glue string after array is deprecated. Swap the parameters

Exception trace:
  at C:\laragon\www_temporary\Tensor\vendor\phalcon\zephir\Library\Compiler.php:862
 Zephir\{closure}() at n/a:n/a
 implode() at C:\laragon\www_temporary\Tensor\vendor\phalcon\zephir\Library\Compiler.php:862
 Zephir\Compiler->compile() at C:\laragon\www_temporary\Tensor\vendor\phalcon\zephir\Library\Console\Command\CompileCommand.php:59
 Zephir\Console\Command\CompileCommand->execute() at C:\laragon\www_temporary\Tensor\vendor\symfony\console\Command\Command.php:255
 Symfony\Component\Console\Command\Command->run() at C:\laragon\www_temporary\Tensor\vendor\symfony\console\Application.php:1010
 Symfony\Component\Console\Application->doRunCommand() at C:\laragon\www_temporary\Tensor\vendor\symfony\console\Application.php:255
 Symfony\Component\Console\Application->doRun() at C:\laragon\www_temporary\Tensor\vendor\phalcon\zephir\Library\Console\Application.php:162
 Zephir\Console\Application->doRun() at C:\laragon\www_temporary\Tensor\vendor\symfony\console\Application.php:148
 Symfony\Component\Console\Application->run() at C:\laragon\www_temporary\Tensor\vendor\phalcon\zephir\zephir:22

compile [--backend BACKEND] [--dev] [--no-dev] [-h|--help] [--no-ansi] [-v|--verbose] [--] <command>

Script zephir compile handling the compile event returned with error code 1

Im used
PHP 7.4.11
Visual studio 2017


Copy link

@yanchespenda this will be fixed soon. Its BC changes for implode function in PHP.

@AlexNDRmac AlexNDRmac added the bug label Oct 27, 2020
@AlexNDRmac AlexNDRmac self-assigned this Oct 27, 2020
@AlexNDRmac AlexNDRmac linked a pull request Nov 20, 2020 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging a pull request may close this issue.

2 participants