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.
我以前知道这一点,但我想它溜走了。您在php中变量的开头和结尾放置的代码是什么,以允许两种引号?
我遵循的个人规则(不是灵丹妙药):
'
"
我认为您正在考虑heredocs。
例子:
echo <<<EOT Some text here '' ""' This should print a capital 'A': \x41 EOT;