体验新版 GitCode,发现更多精彩内容 >>
#!/usr/bin/env php <?php /** [case] title=query excel cid=0 pid=0 [group] 1. output >> [esac] */ include_once __DIR__ . DIRECTORY_SEPARATOR . '_utils.php'; $cmd = getZDCmd(); $output = []; exec("$cmd -y ../test/definition/refer.yaml -c 7 -field excel -o ../test/output/output.txt -f text", $output); print(">> $output[0]\n");