Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于 apache 速度,使用 $ 与 $!{} 访问变量之间是否存在差异。如果是这样,它是什么?
有两个区别,第二个是正式的和安静的。
正式的引用符号包括变量周围的大括号。安静符号包括!和 表示如果引用不存在则不输出任何内容。组合它们时,您会创建一个正式而安静的符号。
!