在下面的例子中,第二行中的重音符号是什么意思?
$cmd = "$ffmpeg -i $video -deinterlace -an -ss $second -t 00:00:01 -r 1 -y -vcodec mjpeg -f mjpeg $image 2>&1";
$return = `$cmd`
Run Code Online (Sandbox Code Playgroud)
这是一个速记的exec().命令的输出可以直接在表达式中使用.
http://php.net/manual/en/language.operators.execution.php
(请注意,您仍应escapeshellarg()事先在命令字符串中应用变量.)