If you run this code, your output will probably look a little different, but the logic sequence of activities will line up.
如果运行此代码,您的输出可能有所不同,但活动的逻辑顺序将保持不变。
The states map only has one output card, so modify the line of code that looks for the output card to point to output card 1 instead of card 2: card = map.getOutputCardObject(1);
州数据图只有一个输出卡,因此需要修改查找输出卡的代码行,使其指向输出卡 1 而不是输出卡 2:card = map.getOutputCardObject(1);。
The exec() command is similar to shell_exec(), except it returns the last line of the output and, optionally, populates an array with the full output of the command, along with the error code.
exec() 命令与 shell_exec() 相似,不同之处是它返回输出的最后一行,并且可选地用命令的完整输出和错误代码填充数组。
应用推荐