News新闻

业界新闻动态、技术前沿
Who are we?

您的位置:首页      网络营销      PHP中单双号与变量

PHP中单双号与变量

例子?php$string = "beautiful";$time = "winter";$str = 'This is a $string $time morning!';echo $str. "br /";eval("\$str = \"$str\";");echo $str;?

例子

<?php
$string = "beautiful";
$time = "winter";
$str = 'This is a $string $time morning!';
echo $str. "<br />";
eval("\$str = \"$str\";");
echo $str;
?> 
    我要评论
    共有 人参与,评论 条,顶帖 [点击查看]
  • 验证码:
  • 所有评论仅代表网友意见,与本站立场无关!