【发布时间】:2019-07-20 07:55:19
【问题描述】:
我正在尝试在 Windows 10 机器上完成 IBM Cloud PHP 入门教程this。
我尝试使用 PHP 7.3 (7.3.2)(下载文件名为 php-7.3.2-nts-Win32-VC15-x64.zip)。
我已经安装了“VC15 版本需要 Visual C++ Redistributable for Visual Studio 2017 x64”(vc_redist.x64.exe)
在第 2 步中,
php composer.phar install
我得到了错误
C:\temp\get-started-php>php composer.phar install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file
[ErrorException] "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
我已查看“警告:“继续”定位开关等同于“中断”。您的意思是使用“继续 2”吗?在this post in stackoverflow 并尝试了composer update 和composer self-update。
我仍然收到"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? 错误。
感谢任何有关如何解决此问题的建议。
【问题讨论】: