PHP 执行运算符 发表于 2012-04-01 更新于 2022-11-07 分类于 PHP开发 将dos命令用1左边的键包围,再echo,会返回执行命令的结果。 <?php $a=`dir c:\\`; //不是单引号,而是1左边的键 echo $a; ?>