时间:2021-07-01 10:21:17 帮助过:8人阅读
var_dump($argv);
Shell/批处理代码
代码如下:
@echo off
:BEGIN
set /p input=any key to run or "c" exit:
if "%input%"=="c" goto END
goto RUN
:RUN
..\bin\php.exe -r "echo \"\r\n\r\n\";"
..\bin\php.exe run.php %input%
..\bin\php.exe -r "echo \"\r\n\r\n\";"
goto BEGIN
:END
exit
http://www.bkjia.com/PHPjc/327212.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/327212.htmlTechArticlephp代码: 代码如下:
?php var_dump($argv); Shell/批处理代码 代码如下:@echo off :BEGIN set /p input=any key to run or "c" exit: if "%input%"...