Posted in PHP onJune 03, 2013
php代码:
<?php 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
php cli 小技巧
声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
Reply on: @reply_date@
@reply_contents@