notepad++如何传参运行php文件?
notepad++如何传参运行php文件?
------解决方案--------------------
CMD:
d:/PHPnow-1.5.6/php-5.2.14-Win32/php.exe laji.php aaalaji.php 内容:
<?php
var_dump($argv);
$laji = $argv[1];
echo $laji;
?>
http://www.php.net/manual/zh/reserved.variables.argv.php